From: Gerhard Sittig Date: Thu, 17 Aug 2017 19:11:49 +0000 (+0200) Subject: macosx: Refine pulseview executable invocation in wrapper script. X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=bf891e547539a89171f7a95dd4fba14959165dcf macosx: Refine pulseview executable invocation in wrapper script. Cope with whitespace in e.g. pathnames that get passed to the script and then forwarded to the executable. Prefix the invocation of the external binary with 'exec' as there is no need to return to the script after the last line finished executing. --- diff --git a/cross-compile/macosx/contrib/pulseview b/cross-compile/macosx/contrib/pulseview index dfa091d..cad4751 100755 --- a/cross-compile/macosx/contrib/pulseview +++ b/cross-compile/macosx/contrib/pulseview @@ -23,4 +23,4 @@ cd "$DIR" export PYTHONHOME="../Frameworks/Python.framework/Versions/3.6" export SIGROK_FIRMWARE_DIR="../share/sigrok-firmware" export SIGROKDECODE_DIR="../share/libsigrokdecode/decoders" -./pulseview.real $* +exec ./pulseview.real "$@"