From 7ae802d73653fd53307998fef7297fd6200b02db Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Sun, 18 May 2014 20:37:44 -0500 Subject: [PATCH] Fix compile.sh script for OS X. --- plugins/compile.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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