plugins/compile.sh
author David Anderson <dvander@alliedmods.net>
Wed Dec 12 22:45:23 2007 +0000 (2007-12-12)
changeset 1788 6b5331ae47c4
parent 1403 ecb9c66fd4bb
child 2527 6271a67d06eb
permissions -rwxr-xr-x
fixed for amb1279 from ferret
     1 #!/bin/bash
     2 
     3 test -e compiled || mkdir compiled
     4 
     5 for sourcefile in *.sp
     6 do
     7 	smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
     8 	echo -n "Compiling $sourcefile ..."
     9 	./spcomp $sourcefile -ocompiled/$smxfile
    10 done
    11