amxmodx/plugins/compile.sh

14 lines
347 B
Bash
Raw Normal View History

2004-01-31 23:56:22 +03:00
#!/bin/bash
2004-02-15 05:33:49 +03:00
2004-03-07 17:38:39 +03:00
# AMX Mod X
2004-02-15 05:33:49 +03:00
#
2004-03-07 17:38:39 +03:00
# by the AMX Mod X Development Team
# originally developed by OLO
#
# This file is part of AMX Mod X.
2004-02-15 05:33:49 +03:00
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
2004-03-07 17:38:39 +03:00
rm temp.txt