diff --git a/env.sh b/env.sh index cb85057d4d8d5..5a0b6a75c3374 100755 --- a/env.sh +++ b/env.sh @@ -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