Skip to content

Commit

Permalink
Add call to readlink in env.sh, to allow specifying relative paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
aweinstock314 authored and crowell committed Jun 23, 2015
1 parent e75deb3 commit cb228a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cb228a3

Please sign in to comment.