summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authordownthomas <downthomas@yahoo.com>2017-04-15 03:04:48 -0400
committerAkemi <der.richter@gmx.de>2017-05-02 03:23:46 +0200
commit985e5b1d8a9fb446fc2941c15c2dd4fa1294c550 (patch)
tree9275003b89069fb4d423b5d1acfcfa17e46b431b /TOOLS
parent24f568c06858146681decb1d4be50ef68865d136 (diff)
downloadmpv-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')
-rwxr-xr-xTOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh4
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"