amxmodx/plugins/compile.sh

14 lines
352 B
Bash
Raw Normal View History

2004-01-31 20:56:22 +00:00
#!/bin/bash
2004-02-15 02:33:49 +00:00
2004-03-07 14:38:39 +00:00
# AMX Mod X
2004-02-15 02:33:49 +00:00
#
2004-03-07 14:38:39 +00:00
# by the AMX Mod X Development Team
# originally developed by OLO
#
# This file is part of AMX Mod X.
2004-02-15 02:33:49 +00:00
2004-01-31 20:56:22 +00:00
test -e compiled || mkdir compiled
2004-07-24 00:36:17 +00:00
ls *.sma | xargs -i ./amxxsc \{\} -ocompiled/\{\} > temp.txt
ls compiled/*.sma | xargs -i basename \{\} .sma | xargs -i mv compiled/\{\}.sma compiled/\{\}.amxx
2004-01-31 20:56:22 +00:00
more temp.txt
2004-03-07 14:38:39 +00:00
rm temp.txt