changed header

This commit is contained in:
Felix Geyer 2004-03-07 14:38:39 +00:00
parent 9f6b206881
commit 35162334be
2 changed files with 12 additions and 7 deletions

View File

@ -1,12 +1,15 @@
@echo off @echo off
rem AMX Mod X rem AMX Mod X
rem rem
rem (c) 2002-2004, OLO rem by the AMX Mod X Development Team
rem modified by the AMX Mod X Development Team rem originally developed by OLO
rem
rem This file is part of AMX Mod X.
if not exist compiled mkdir compiled if not exist compiled mkdir compiled
if exist temp.txt del temp.txt if exist temp.txt del temp.txt
for %%i in (*.sma) do sc %%i -e%%i.txt -ocompiled\%%i >> temp.txt for %%i in (*.sma) do sc %%i -ocompiled\%%i >> temp.txt
copy compiled\*.sma compiled\*.amx copy compiled\*.sma compiled\*.amx
del compiled\*.sma del compiled\*.sma
cls cls

View File

@ -1,12 +1,14 @@
#!/bin/bash #!/bin/bash
#AMX Mod X # AMX Mod X
# #
# (c) 2002-2004, OLO # by the AMX Mod X Development Team
# modified by the AMX Mod X Development Team # originally developed by OLO
#
# This file is part of AMX Mod X.
test -e compiled || mkdir compiled test -e compiled || mkdir compiled
ls *.sma | xargs -i ./sc \{\} -ocompiled/\{\} > temp.txt ls *.sma | xargs -i ./sc \{\} -ocompiled/\{\} > temp.txt
ls compiled/*.sma | xargs -i basename \{\} .sma | xargs -i mv compiled/\{\}.sma compiled/\{\}.amx ls compiled/*.sma | xargs -i basename \{\} .sma | xargs -i mv compiled/\{\}.sma compiled/\{\}.amx
more temp.txt more temp.txt
rm temp.txt rm temp.txt