diff options
author | Akemi <der.richter@gmx.de> | 2017-07-26 19:37:36 +0200 |
---|---|---|
committer | Akemi <der.richter@gmx.de> | 2017-07-31 20:23:58 +0200 |
commit | 67506f21b81202f082dab026b92e4f3dcaddff0f (patch) | |
tree | 8d3bdd4575baee94db01f1e4abdebd31f1c8bbe5 /TOOLS | |
parent | bda32d99d79bb059f5ddef3c47991c1e461e0f4e (diff) |
osx: fix bundle for paths that need escaping
this fixes the mpv binary call in our bundle wrapper script, in the case
that the path to the binary needs escaping. examples are white spaces or
special chars.
Diffstat (limited to 'TOOLS')
-rwxr-xr-x | TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh b/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh index f2658072ef..53dfb4e5c4 100755 --- a/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh +++ b/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh @@ -1,3 +1,4 @@ #!/bin/bash -l export MPVBUNDLE="true" -$SHELL -c "$(dirname "$0")/mpv --player-operation-mode=pseudo-gui" +cd "$(dirname "$0")" +$SHELL -c "./mpv --player-operation-mode=pseudo-gui" |