diff --git a/plugins/compile.sh b/plugins/compile.sh index 02dc4c6f..68402ba1 100755 --- a/plugins/compile.sh +++ b/plugins/compile.sh @@ -12,18 +12,11 @@ test -e compiled || mkdir compiled rm -f temp.txt -# Choose compiler binary -if test `uname` = "Darwin"; then - pc=./amxxpc_osx -else - pc=./amxxpc -fi - for sourcefile in *.sma do amxxfile="`echo $sourcefile | sed -e 's/\.sma$/.amxx/'`" echo -n "Compiling $sourcefile ..." - $pc $sourcefile -ocompiled/$amxxfile >> temp.txt + ./amxxpc $sourcefile -ocompiled/$amxxfile >> temp.txt echo "done" done