amxmodx/plugins/compile.sh
2004-07-24 00:36:17 +00:00

14 lines
352 B
Bash
Executable File

#!/bin/bash
# AMX Mod X
#
# by the AMX Mod X Development Team
# originally developed by OLO
#
# This file is part of AMX Mod X.
test -e compiled || mkdir compiled
ls *.sma | xargs -i ./amxxsc \{\} -ocompiled/\{\} > temp.txt
ls compiled/*.sma | xargs -i basename \{\} .sma | xargs -i mv compiled/\{\}.sma compiled/\{\}.amxx
more temp.txt
rm temp.txt