diff options
author | downthomas <downthomas@yahoo.com> | 2017-04-15 03:04:48 -0400 |
---|---|---|
committer | Akemi <der.richter@gmx.de> | 2017-05-02 03:23:46 +0200 |
commit | 985e5b1d8a9fb446fc2941c15c2dd4fa1294c550 (patch) | |
tree | 9275003b89069fb4d423b5d1acfcfa17e46b431b /TOOLS/osxbundle/mpv.app/Contents | |
parent | 24f568c06858146681decb1d4be50ef68865d136 (diff) | |
download | mpv-985e5b1d8a9fb446fc2941c15c2dd4fa1294c550.tar.bz2 mpv-985e5b1d8a9fb446fc2941c15c2dd4fa1294c550.tar.xz |
osx: fix mpv-wrapper.sh when used with csh or tcsh shell
If the default shell of the user is set to csh or tcsh, the use of
"$SHELL -l -c" will fail to launch mpv because -l and -c cannot be used
together with csh or tcsh.
Signed-off-by: Akemi <der.richter@gmx.de>
Diffstat (limited to 'TOOLS/osxbundle/mpv.app/Contents')
-rwxr-xr-x | TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh b/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh index 1a16975319..f2658072ef 100755 --- a/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh +++ b/TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh @@ -1,3 +1,3 @@ -#!/bin/bash +#!/bin/bash -l export MPVBUNDLE="true" -$SHELL -l -c "$(dirname "$0")/mpv --player-operation-mode=pseudo-gui" +$SHELL -c "$(dirname "$0")/mpv --player-operation-mode=pseudo-gui" |