Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #45 from sellingsource/master

Allow passing PHPLIB as an environment variable
  • Loading branch information...
commit abb0f91003c11eb2e273e9a2ae18d807b0a69990 2 parents 6529dd4 + 62dedf2
Brian Moon authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 install/install.sh
8 install/install.sh
View
@@ -51,10 +51,12 @@ fi
# symlink proper library wrapper into bin
-echo "Which PHP library to use, pecl/gearman or PEAR::Net_Gearman?"
-select PHPLIB in "pecl" "pear"; do
+if [ -z "${PHPLIB}" ]; then
+ echo "Which PHP library to use, pecl/gearman or PEAR::Net_Gearman?"
+ select PHPLIB in "pecl" "pear"; do
break
-done
+ done
+fi
# create and populate installation folder
mkdir -p ${INSTALL_DIR}
Please sign in to comment.
Something went wrong with that request. Please try again.