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,10 +5,10 @@ test -e compiled || mkdir compiled
if [[ $# -ne 0 ]]
then
for sourcefile in "$@";
for i in "$@";
do
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`";
echo -e "\nCompiling $sourcefile...";
smxfile="`echo $i | sed -e 's/\.sp$/\.smx/'`";
echo -n "Compiling $i...";
./spcomp $i -ocompiled/$smxfile
done
else
@ -16,10 +16,7 @@ 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..."