Revert "Add better spacing to compile.sh"

This reverts commit cd106a7eb6.
This commit is contained in:
Kyle Sanderson 2014-06-08 00:42:27 -07:00
parent 6ac897f9f3
commit 70518a8e49

View File

@ -5,21 +5,18 @@ test -e compiled || mkdir compiled
if [[ $# -ne 0 ]]
then
for sourcefile in "$@";
do
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`";
echo -e "\nCompiling $sourcefile...";
./spcomp $i -ocompiled/$smxfile
for i in "$@";
do
smxfile="`echo $i | sed -e 's/\.sp$/\.smx/'`";
echo -n "Compiling $i...";
./spcomp $i -ocompiled/$smxfile
done
else
for sourcefile in *.sp
do
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
echo -e "\nCompiling $sourcefile ..."
echo -n "Compiling $sourcefile ..."
./spcomp $sourcefile -ocompiled/$smxfile
done
fi
echo -e "\n"
read -n1 -rsp "Press any key to continue..."