[vlc-commits] macOS codesign.sh: Handle default case while parsing options

David Fuhrmann git at videolan.org
Sat Jan 13 18:49:45 CET 2018


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Jan  2 19:59:15 2018 +0100| [d39a330f7ec36cffa90add2e8f0ff352c37b6774] | committer: David Fuhrmann

macOS codesign.sh: Handle default case while parsing options

(cherry picked from commit f25ce3d3d7bff0ebe5fd7e6f3e71f50bd5c73671)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=d39a330f7ec36cffa90add2e8f0ff352c37b6774
---

 extras/package/macosx/codesign.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/extras/package/macosx/codesign.sh b/extras/package/macosx/codesign.sh
index 04936ceb43..cdbc866313 100755
--- a/extras/package/macosx/codesign.sh
+++ b/extras/package/macosx/codesign.sh
@@ -54,6 +54,10 @@ do
          g)
              GK="yes"
          ;;
+         *)
+             usage
+             exit 1
+         ;;
      esac
 done
 shift $(($OPTIND - 1))



More information about the vlc-commits mailing list