[vlc-commits] OSX build script: be verbose by default
Rafaël Carré
git at videolan.org
Sat Feb 4 01:48:35 CET 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Feb 3 19:47:00 2012 -0500| [c6a45bd97c0e196ecd3b9c9d45db9ad21e98bb4d] | committer: Rafaël Carré
OSX build script: be verbose by default
Don't hide the needed steps as it confuses users reading the detailed instructions
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c6a45bd97c0e196ecd3b9c9d45db9ad21e98bb4d
---
extras/package/macosx/build.sh | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index 72a1437..230d841 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -1,5 +1,6 @@
#!/bin/sh
set -e
+set -x
info()
{
@@ -20,7 +21,7 @@ Build vlc in the current directory
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
@@ -44,9 +45,9 @@ do
usage
exit 1
;;
- v)
- set -x
- VERBOSE="yes"
+ q)
+ set +x
+ QUIET="yes"
;;
a)
ARCH=$OPTARG
@@ -67,9 +68,9 @@ fi
# 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"
More information about the vlc-commits
mailing list