Fixes to the makedist.sh script.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 03 Apr 2007 05:13:49 +0000
changeset 891 473312ef9130
parent 890 9e48d79f1a9d
child 892 fe0c1d6f40af
Fixes to the makedist.sh script.
extras/makedist.sh
--- a/extras/makedist.sh	Tue Apr 03 05:01:23 2007 +0000
+++ b/extras/makedist.sh	Tue Apr 03 05:13:49 2007 +0000
@@ -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'`