directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r635668 - /directory/sandbox/akarasulu/bigbang/project/resources/superclean.sh
Date Mon, 10 Mar 2008 19:41:33 GMT
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
 



Mime
View raw message