From cb228a31e5899254fb16d5aab6794e5488c0ed94 Mon Sep 17 00:00:00 2001 From: Avi Weinstock Date: Tue, 23 Jun 2015 12:48:28 -0400 Subject: [PATCH] Add call to readlink in env.sh, to allow specifying relative paths. --- env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env.sh b/env.sh index 87233b4aa7642..60cb5c660468d 100755 --- a/env.sh +++ b/env.sh @@ -1,6 +1,6 @@ #!/bin/sh -pfx=$1 +pfx=$(readlink --canonicalize "$1") if [ -z "$pfx" ]; then echo "Usage: ./env.sh [path-to-prefix] [program]" exit 1