Revert "Add better spacing to compile.sh"
This reverts commit cd106a7eb6
.
This commit is contained in:
parent
6ac897f9f3
commit
70518a8e49
@ -5,21 +5,18 @@ test -e compiled || mkdir compiled
|
|||||||
|
|
||||||
if [[ $# -ne 0 ]]
|
if [[ $# -ne 0 ]]
|
||||||
then
|
then
|
||||||
for sourcefile in "$@";
|
for i in "$@";
|
||||||
do
|
do
|
||||||
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`";
|
smxfile="`echo $i | sed -e 's/\.sp$/\.smx/'`";
|
||||||
echo -e "\nCompiling $sourcefile...";
|
echo -n "Compiling $i...";
|
||||||
./spcomp $i -ocompiled/$smxfile
|
./spcomp $i -ocompiled/$smxfile
|
||||||
done
|
done
|
||||||
else
|
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 -e "\nCompiling $sourcefile ..."
|
echo -n "Compiling $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