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 3a88977

Browse files
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix GH-19681 PHP_EXPAND_PATH broken with bash 5.3.0
2 parents f0c5315 + 98d2b92 commit 3a88977

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
@@ -63,7 +63,11 @@ AC_DEFUN([PHP_EXPAND_PATH],[
6363
changequote({,})
6464
ep_dir=$(echo 1ドル|$SED 's%/*[^/][^/]*/*$%%')
6565
changequote([,])
66-
ep_realdir=$(cd "$ep_dir" && pwd)
66+
if test -z $ep_dir ; then
67+
ep_realdir=$(pwd)
68+
else
69+
ep_realdir=$(cd "$ep_dir" && pwd)
70+
fi
6771
2ドル="$ep_realdir"/$(basename "1ドル")
6872
fi
6973
])

0 commit comments

Comments
(0)

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