Skip to content

Commit 1cd217d

Browse files
author
Wes Garland
committed
peter-jr - treat systems with non-gnu realpath as though they are missing realpath
1 parent 1092a11 commit 1cd217d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peter-jr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ grey()
9797
printf "\e[0;90m%s\e[0m" "$*"
9898
}
9999

100-
if ! realpath . >/dev/null 2>&1; then
100+
if ! realpath --relative-to=. . >/dev/null 2>&1; then
101101
realpath()
102102
{
103103
local remove

0 commit comments

Comments
 (0)