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 98d2b92

Browse files
Fix GH-19681 PHP_EXPAND_PATH broken with bash 5.3.0
1 parent 05133ac commit 98d2b92

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

0 commit comments

Comments
(0)

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