You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2008/03/10 20:41:33 UTC
svn commit: r635668 -
/directory/sandbox/akarasulu/bigbang/project/resources/superclean.sh
Author: akarasulu
Date: Mon Mar 10 12:41:30 2008
New Revision: 635668
URL: http://svn.apache.org/viewvc?rev=635668&view=rev
Log:
stupid shell script causing problems on ubuntu
Modified:
directory/sandbox/akarasulu/bigbang/project/resources/superclean.sh
Modified: directory/sandbox/akarasulu/bigbang/project/resources/superclean.sh
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/bigbang/project/resources/superclean.sh?rev=635668&r1=635667&r2=635668&view=diff
==============================================================================
--- directory/sandbox/akarasulu/bigbang/project/resources/superclean.sh (original)
+++ directory/sandbox/akarasulu/bigbang/project/resources/superclean.sh Mon Mar 10 12:41:30 2008
@@ -4,10 +4,11 @@
# with the command 'resources/superclean.sh'
find . -type d -name target | xargs rm -rf
+OS=`uname`
-if [ `uname` == "CYGWIN_NT-5.1" ]; then
- rm -rf $(cygpath "$HOME_PATH"/.m2/repository/org/apache/{directory});
+if [ "$OS" = "CYGWIN_NT-5.1" ]; then
+ rm -rf $(cygpath "$HOME_PATH"/.m2/repository/org/apache/directory);
else
- rm -rf ~/.m2/repository/org/apache/{directory}
+ rm -rf ~/.m2/repository/org/apache/directory
fi