Add better spacing to compile.sh
This commit is contained in:
parent
5cb10441d7
commit
cd106a7eb6
@ -5,10 +5,10 @@ test -e compiled || mkdir compiled
|
||||
|
||||
if [[ $# -ne 0 ]]
|
||||
then
|
||||
for i in "$@";
|
||||
for sourcefile in "$@";
|
||||
do
|
||||
smxfile="`echo $i | sed -e 's/\.sp$/\.smx/'`";
|
||||
echo -n "Compiling $i...";
|
||||
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`";
|
||||
echo -e "\nCompiling $sourcefile...";
|
||||
./spcomp $i -ocompiled/$smxfile
|
||||
done
|
||||
else
|
||||
@ -16,7 +16,10 @@ else
|
||||
for sourcefile in *.sp
|
||||
do
|
||||
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
|
||||
echo -n "Compiling $sourcefile ..."
|
||||
echo -e "\nCompiling $sourcefile ..."
|
||||
./spcomp $sourcefile -ocompiled/$smxfile
|
||||
done
|
||||
fi
|
||||
|
||||
echo -e "\n"
|
||||
read -n1 -rsp "Press any key to continue..."
|
Loading…
Reference in New Issue
Block a user