Skip to content

Commit

Permalink
Fixed argument check in env.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenekolo authored and crowell committed Jan 22, 2016
1 parent cbbcb71 commit edfc4c9
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
Expand Up @@ -7,7 +7,7 @@ getabsolutepath() {

pfx=$(getabsolutepath "$1")

if [ -z "$pfx" ]; then
if [ -z "$1" ]; then
echo "Usage: ./env.sh [destdir|prefix] [program]"
exit 1
fi
Expand Down

0 comments on commit edfc4c9

Please sign in to comment.