projects
/
sigrok-util.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbad16
)
macosx: Refine pulseview executable invocation in wrapper script.
author
Gerhard Sittig
<gerhard.sittig@gmx.net>
Thu, 17 Aug 2017 19:11:49 +0000
(21:11 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 17 Aug 2017 21:59:08 +0000
(23:59 +0200)
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.
cross-compile/macosx/contrib/pulseview
patch
|
blob
|
history
diff --git
a/cross-compile/macosx/contrib/pulseview
b/cross-compile/macosx/contrib/pulseview
index dfa091de085e164330ba3cd8742e4519940c5ff2..cad475134b0ed4cb467ef2d83bbd2f166b3e3d83 100755
(executable)
--- 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 "$@"