From c3812aec973b7341a600e5d2d07d5a7f15abd609 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Thu, 18 Dec 2008 09:14:16 -0800 Subject: XQuartz: Changed X11.sh to allow use of a ~/.x11run as requested by users of alternate shells (cherry picked from commit b62ed1f8eaf041a946bb591165bb18ee481dedbf) --- hw/xquartz/bundle/X11.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hw/xquartz/bundle/X11.sh b/hw/xquartz/bundle/X11.sh index 87c52b362..f6fac9f50 100755 --- a/hw/xquartz/bundle/X11.sh +++ b/hw/xquartz/bundle/X11.sh @@ -1,3 +1,8 @@ #!/bin/bash --login -"$(dirname $0)"/X11.bin "${@}" +if [ -x ~/.x11run ]; then + exec ~/.x11run "$(dirname $0)"/X11.bin "${@}" +else + exec "$(dirname $0)"/X11.bin "${@}" +fi + -- cgit v1.2.3