r903 - trunk/extras

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Apr 3 01:13:50 EDT 2007


Author: icculus
Date: 2007-04-03 01:13:49 -0400 (Tue, 03 Apr 2007)
New Revision: 903

Modified:
   trunk/extras/makedist.sh
Log:
Fixes to the makedist.sh script.


Modified: trunk/extras/makedist.sh
===================================================================
--- trunk/extras/makedist.sh	2007-04-03 05:01:23 UTC (rev 902)
+++ trunk/extras/makedist.sh	2007-04-03 05:13:49 UTC (rev 903)
@@ -27,11 +27,15 @@
 echo " + Setting up scratch dir..."
 rm -rf $TMPCPDIR
 mkdir $TMPCPDIR
+mkdir $CPDIR
 
 echo " + Making copy of source tree in scratch dir..."
 cp -R . $CPDIR/
 echo " + Deleting cruft..."
-pushd $CPDIR >/dev/null && rm -rf `svn propget svn:ignore .` && popd >/dev/null
+pushd $CPDIR >/dev/null
+rm -rf `svn propget svn:ignore .`
+rm -rf `svn status |grep '?' |sed -s 's/\?//'`
+popd >/dev/null
 rm -rf `find $CPDIR -type d -name '.svn'`
 echo " + Deleting Subversion metadata..."
 rm -rf `find $CPDIR -type d -name '.svn'`




More information about the physfs-commits mailing list