1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

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>
This commit is contained in:
downthomas 2017-04-15 03:04:48 -04:00 committed by Akemi
parent 24f568c068
commit 985e5b1d8a

View File

@ -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"