From 985e5b1d8a9fb446fc2941c15c2dd4fa1294c550 Mon Sep 17 00:00:00 2001 From: downthomas Date: Sat, 15 Apr 2017 03:04:48 -0400 Subject: 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 --- TOOLS/osxbundle/mpv.app/Contents/MacOS/mpv-wrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TOOLS') 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" -- cgit v1.2.3