Don't hide the needed steps as it confuses users reading the detailed instructions
#!/bin/sh
set -e
+set -x
info()
{
OPTIONS:
-h Show some help
- -v Be verbose
+ -q Be quiet
-k <sdk> Use the specified sdk (default: $SDK)
-a <arch> Use the specified arch (default: $ARCH)
EOF
usage
exit 1
;;
- v)
- set -x
- VERBOSE="yes"
+ q)
+ set +x
+ QUIET="yes"
;;
a)
ARCH=$OPTARG
# Various initialization
#
-out="/dev/null"
-if [ "$VERBOSE" = "yes" ]; then
- out="/dev/stdout"
+out="/dev/stdout"
+if [ "$QUIET" = "yes" ]; then
+ out="/dev/null"
fi
info "Building VLC for the Mac OS X"