amxmodx/plugins/compile.sh

13 lines
311 B
Bash
Raw Normal View History

2004-01-31 23:56:22 +03:00
#!/bin/bash
2004-02-15 05:33:49 +03:00
#AMX Mod X
#
# (c) 2002-2004, OLO
# modified by the AMX Mod X Development Team
2004-01-31 23:56:22 +03: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