mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 22:35:37 +03:00
14 lines
347 B
Bash
Executable File
14 lines
347 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 ./sc \{\} -ocompiled/\{\} > temp.txt
|
|
ls compiled/*.sma | xargs -i basename \{\} .sma | xargs -i mv compiled/\{\}.sma compiled/\{\}.amx
|
|
more temp.txt
|
|
rm temp.txt |