mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
7 lines
229 B
Bash
7 lines
229 B
Bash
|
#!/bin/bash
|
||
|
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
|