Skip to content

Commit f71c22a

Browse files
committed
Fixes
1 parent 9595c1a commit f71c22a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

configure.ac

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,8 @@ extern "C++" {
101101
])
102102

103103
PHP_VERSION=AC_PACKAGE_VERSION
104-
php_tmp_version="`echo $PHP_VERSION | $SED 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)\(.*\)/\1\.\2\.\3\.\4/'`"
105-
ac_IFS=$IFS
106-
IFS="."
104+
php_tmp_version=$(echo $PHP_VERSION | $SED 's/\([[0-9\.]]*\)\(.*\)/\1\.\2/')
105+
ac_IFS=$IFS; IFS="."
107106
set $php_tmp_version
108107
IFS=$ac_IFS
109108
PHP_MAJOR_VERSION=[$]1

0 commit comments

Comments
 (0)