We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a16720a commit 9d80040Copy full SHA for 9d80040
services/php/extensions/install.sh
@@ -60,11 +60,15 @@ isPhpVersionGreaterOrEqual()
60
installExtensionFromTgz()
61
{
62
tgzName=$1
63
+ para1=
64
extensionName="${tgzName%%-*}"
-
65
+
66
+ if [ $2 ]; then
67
+ para1=$2
68
+ fi
69
mkdir ${extensionName}
70
tar -xf ${tgzName}.tgz -C ${extensionName} --strip-components=1
- ( cd ${extensionName} && phpize && ./configure && make ${MC} && make install )
71
+ ( cd ${extensionName} && phpize && ./configure ${para1} && make ${MC} && make install )
72
73
docker-php-ext-enable ${extensionName} $2
74
}
0 commit comments