Ensure packager removes gedit backups. Add reminder about *.sh files.

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7649 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
RandumKiwi
2013-11-10 00:57:11 +00:00
parent 5dc821aeb8
commit 2b455828e2
+6 -2
View File
@@ -34,6 +34,9 @@ read DUMMY
echo "\033[1mDid you strip symbols when compiling?\033[0m"
echo " * If so, press ENTER to continue, otherwise press ctrl+c to exit."
read DUMMY
echo "\033[1mIs the versioning in assaultcube.sh and install.sh correct?\033[0m"
echo " * If so, press ENTER to continue, otherwise press ctrl+c to exit."
read DUMMY
echo "\033[1mHave you checked all 4 variables in this script are set correctly?\033[0m"
echo " * The packages created by this script will be saved to this folder:\n $SAVETARBALLPATH"
echo " * The absolute-path to your AssaultCube directory is set as:\n $PATHTOACDIR"
@@ -147,12 +150,13 @@ echo "Please wait: Cleaning out some crufty files..."
cd $PATHTOACDIR/source/enet && make distclean
cd ../src && make clean
cd ../../config && rm -f init.cfg killmessages.cfg saved.cfg servers.cfg
# Though tutorial no longer exists, leave this code as-is,
# in case it's added again in future...
# Leave tutorial code here, just in case of future use:
cd .. && rm -f `(find ./demos/* -type f | grep -v "tutorial_demo.dmo")`
rm -f ./bin_unix/native_*
rm -f ./packages/maps/*.cgz
rm -f ./screenshots/*
# Delete gedit backups:
find . -type f -name "*~" -delete
# Copy docs over:
echo "Copied documentation into the main folder..."