[vlc-commits] macOS build.sh: Handle default case while parsing options
David Fuhrmann
git at videolan.org
Wed Jan 17 16:13:01 CET 2018
vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Jan 2 19:58:50 2018 +0100| [3a04f677b798e783a9de1265b63fc9cea0ba58f9] | committer: Jean-Baptiste Kempf
macOS build.sh: Handle default case while parsing options
(cherry picked from commit 892664eb74216779093a8bc27019b29d62d7cc38)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=3a04f677b798e783a9de1265b63fc9cea0ba58f9
---
extras/package/macosx/build.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index fc41d35e38..d48bec88fc 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -94,6 +94,10 @@ do
b)
BREAKPAD=$OPTARG
;;
+ *)
+ usage
+ exit 1
+ ;;
esac
done
shift $(($OPTIND - 1))
More information about the vlc-commits
mailing list