summaryrefslogtreecommitdiff
path: root/tests/prepare.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/prepare.sh')
-rwxr-xr-xtests/prepare.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/prepare.sh b/tests/prepare.sh
index e052c72..58fc646 100755
--- a/tests/prepare.sh
+++ b/tests/prepare.sh
@@ -8,6 +8,11 @@
EXTDLOC=ext_dir
SO=extfortest.so
+if [ $1 ]
+then
+ SO=$1
+fi
+
EXTDIR=$(php-config --extension-dir)
#echo $EXTDIR