directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r638561 - /directory/project/trunk/resources/superclean.sh
Date Tue, 18 Mar 2008 20:49:58 GMT
Author: akarasulu
Date: Tue Mar 18 13:49:57 2008
New Revision: 638561

URL: http://svn.apache.org/viewvc?rev=638561&view=rev
Log:
get this darn script to work on ubuntu

Modified:
    directory/project/trunk/resources/superclean.sh

Modified: directory/project/trunk/resources/superclean.sh
URL: http://svn.apache.org/viewvc/directory/project/trunk/resources/superclean.sh?rev=638561&r1=638560&r2=638561&view=diff
==============================================================================
--- directory/project/trunk/resources/superclean.sh (original)
+++ directory/project/trunk/resources/superclean.sh Tue Mar 18 13:49:57 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
 



Mime
View raw message