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 ]]
|
if [[ $# -ne 0 ]]
|
||||||
then
|
then
|
||||||
for i in "$@";
|
for sourcefile in "$@";
|
||||||
do
|
do
|
||||||
smxfile="`echo $i | sed -e 's/\.sp$/\.smx/'`";
|
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`";
|
||||||
echo -n "Compiling $i...";
|
echo -e "\nCompiling $sourcefile...";
|
||||||
./spcomp $i -ocompiled/$smxfile
|
./spcomp $i -ocompiled/$smxfile
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
@ -16,7 +16,10 @@ else
|
|||||||
for sourcefile in *.sp
|
for sourcefile in *.sp
|
||||||
do
|
do
|
||||||
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
|
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
|
||||||
echo -n "Compiling $sourcefile ..."
|
echo -e "\nCompiling $sourcefile ..."
|
||||||
./spcomp $sourcefile -ocompiled/$smxfile
|
./spcomp $sourcefile -ocompiled/$smxfile
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -e "\n"
|
||||||
|
read -n1 -rsp "Press any key to continue..."
|
Loading…
Reference in New Issue
Block a user