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/18 21:49:58 UTC

svn commit: r638561 - /directory/project/trunk/resources/superclean.sh

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