Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ad5f31d

Browse files
Merge branch 'PHP-8.4'
* PHP-8.4: Fix GH-19681 PHP_EXPAND_PATH broken with bash 5.3.0
2 parents 1ac91f5 + 3a88977 commit ad5f31d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎build/php.m4

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ AC_DEFUN([PHP_EXPAND_PATH],[
5454
changequote({,})
5555
ep_dir=$(echo 1ドル|$SED 's%/*[^/][^/]*/*$%%')
5656
changequote([,])
57-
ep_realdir=$(cd "$ep_dir" && pwd)
57+
if test -z $ep_dir ; then
58+
ep_realdir=$(pwd)
59+
else
60+
ep_realdir=$(cd "$ep_dir" && pwd)
61+
fi
5862
2ドル="$ep_realdir"/$(basename "1ドル")
5963
fi
6064
])

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /