Commit c6a45bd9 authored by Rafaël Carré's avatar Rafaël Carré

OSX build script: be verbose by default

Don't hide the needed steps as it confuses users reading the detailed instructions
parent 9dc8b9bc
#!/bin/sh #!/bin/sh
set -e set -e
set -x
info() info()
{ {
...@@ -20,7 +21,7 @@ Build vlc in the current directory ...@@ -20,7 +21,7 @@ Build vlc in the current directory
OPTIONS: OPTIONS:
-h Show some help -h Show some help
-v Be verbose -q Be quiet
-k <sdk> Use the specified sdk (default: $SDK) -k <sdk> Use the specified sdk (default: $SDK)
-a <arch> Use the specified arch (default: $ARCH) -a <arch> Use the specified arch (default: $ARCH)
EOF EOF
...@@ -44,9 +45,9 @@ do ...@@ -44,9 +45,9 @@ do
usage usage
exit 1 exit 1
;; ;;
v) q)
set -x set +x
VERBOSE="yes" QUIET="yes"
;; ;;
a) a)
ARCH=$OPTARG ARCH=$OPTARG
...@@ -67,9 +68,9 @@ fi ...@@ -67,9 +68,9 @@ fi
# Various initialization # Various initialization
# #
out="/dev/null" out="/dev/stdout"
if [ "$VERBOSE" = "yes" ]; then if [ "$QUIET" = "yes" ]; then
out="/dev/stdout" out="/dev/null"
fi fi
info "Building VLC for the Mac OS X" info "Building VLC for the Mac OS X"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment