From: Uwe Hermann Date: Thu, 16 Jul 2020 21:04:52 +0000 (+0200) Subject: sigrok-native-macosx: Fix a command-line handling issue. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f2904ee5ae55d88c920d5411f1476a985b0447d1;p=sigrok-util.git sigrok-native-macosx: Fix a command-line handling issue. Previously "./create_dmg" and "./create_dmg pulseview" would not have the same behaviour. --- diff --git a/cross-compile/macosx/create_dmg b/cross-compile/macosx/create_dmg index 2821533..9dc3869 100755 --- a/cross-compile/macosx/create_dmg +++ b/cross-compile/macosx/create_dmg @@ -74,7 +74,7 @@ rm -rf $SHARE_DIR/libsigrokdecode/decoders/**/__pycache__ rm -rf $SHARE_DIR/libsigrokdecode/decoders/common/**/__pycache__ cp -R $PREFIX/share/sigrok-firmware $SHARE_DIR -if [ "x$1" = "xpulseview" ]; then +if [ "x$APPNAME_BINARY" = "xpulseview" ]; then # Manually copy some boost libs that "macdeployqt" won't copy. cp $BOOSTLIBDIR/libboost_timer-mt.dylib $FRAMEWORKSDIR cp $BOOSTLIBDIR/libboost_chrono-mt.dylib $FRAMEWORKSDIR