amxmodx/plugins/compile.sh

13 lines
311 B
Bash
Raw Normal View History

2004-01-31 20:56:22 +00:00
#!/bin/bash
2004-02-15 02:33:49 +00:00
#AMX Mod X
#
# (c) 2002-2004, OLO
# modified by the AMX Mod X Development Team
2004-01-31 20:56:22 +00:00
test -e compiled || mkdir compiled
ls *.sma | xargs -i ./sc \{\} -ocompiled/\{\} > temp.txt
ls compiled/*.sma | xargs -i basename \{\} .sma | xargs -i mv compiled/\{\}.sma compiled/\{\}.amx
more temp.txt
rm temp.txt