plugins/compile.sh
author Matt Woodrow <pred@alliedmods.net>
Fri Apr 11 07:58:06 2008 +0000 (2008-04-11)
changeset 1988 0eae92e7cfd2
parent 1952 b7aa2b626807
child 2527 6271a67d06eb
permissions -rwxr-xr-x
Fixed amb1594 - SetPlayerClass issues with spawning
     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