mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Fix #11110: problems invoking configure.
* configure without arguments used to work on Haiku, but it no longer did since hrev47574 - fix the usage check to make it work again.
This commit is contained in:
parent
cbe5cf641d
commit
7f9beaf1f8
5
configure
vendored
5
configure
vendored
@ -396,8 +396,8 @@ is_in_list()
|
||||
return 1
|
||||
}
|
||||
|
||||
# check for no params, --help or -h and show usage immediately
|
||||
if [ -z "$1" ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
|
||||
# check for --help or -h and show usage immediately
|
||||
if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
|
||||
usage; exit 0;
|
||||
fi
|
||||
|
||||
@ -702,6 +702,7 @@ else
|
||||
echo "Please specify the build tools to use or build (via" \
|
||||
"--cross-tools-prefix or --build-cross-tools) or specify a" \
|
||||
"host-only build (--host-only)." >&2
|
||||
echo "For more info, invoke $0 --help"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user