Skip to content

Commit

Permalink
Fixes to the makedist.sh script.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 3, 2007
1 parent ad430a8 commit d4d3d52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extras/makedist.sh
Expand Up @@ -27,11 +27,15 @@ echo "Packing PhysicsFS $VERSION source tarball..."
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'`
Expand Down

0 comments on commit d4d3d52

Please sign in to comment.