Skip to content
This repository was archived by the owner on Dec 23, 2018. It is now read-only.

Commit be8c5ab

Browse files
committed
Quote the argument to greadlink
Make it work with paths containing spaces
1 parent c701825 commit be8c5ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/php-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -E
66
exec 3<&2 # preserve original stderr at fd 3
77

88
resolve_link() {
9-
$(type -p greadlink readlink | head -1) $1
9+
$(type -p greadlink readlink | head -1) "$1"
1010
}
1111

1212
abs_dirname() {

0 commit comments

Comments
 (0)