We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a30467 commit 604ef47Copy full SHA for 604ef47
1 file changed
docker-php-ext-configure
@@ -10,9 +10,10 @@ if [ -z "$srcExists" ]; then
10
touch /usr/src/php/.docker-delete-me
11
fi
12
13
+cd /usr/src/php/ext
14
+
15
ext="$1"
-extDir="/usr/src/php/ext/$ext"
-if [ -z "$ext" ] || [ ! -d "$extDir" ]; then
16
+if [ -z "$ext" ] || [ ! -d "$ext" ]; then
17
echo >&2 "usage: $0 ext-name [configure flags]"
18
echo >&2 " ie: $0 gd --with-jpeg-dir=/usr/local/something"
19
echo >&2
@@ -46,6 +47,6 @@ if [ "$pm" = 'apk' ]; then
46
47
48
49
set -x
-cd "$extDir"
50
+cd "$ext"
51
phpize
52
./configure "$@"
0 commit comments