Exit if we're building with Qt and we can't find macdeployqt.
authorGerald Combs <gerald@wireshark.org>
Fri, 25 Oct 2013 21:37:30 +0000 (21:37 -0000)
committerGerald Combs <gerald@wireshark.org>
Fri, 25 Oct 2013 21:37:30 +0000 (21:37 -0000)
svn path=/trunk/; revision=52853

packaging/macosx/osx-app.sh

index 71626af506c1f114da452173a15329c29fff1527..a094764ed9754832edc3117dfd1da4c5751df7b2 100755 (executable)
@@ -562,12 +562,12 @@ rpathify_files () {
 }
 
 if [ "$ui_toolkit" = "qt" ] ; then
-       macdeployqt "$bundle" -verbose=2
+       macdeployqt "$bundle" -verbose=2 || exit 1
 fi
 
 PATHLENGTH=`echo $LIBPREFIX | wc -c`
 if [ "$PATHLENGTH" -ge "6" ]; then
-       # If the LIBPREFIX path is long enough to allow 
+       # If the LIBPREFIX path is long enough to allow
        # path rewriting, then do this.
        # 6 is the length of @rpath, which replaces LIBPREFIX.
        rpathify_files