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

David Fuhrmann git at videolan.org
Tue Jan 2 20:01:06 CET 2018


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

macOS codesign.sh: Handle default case while parsing options

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

 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