Edit

IABSD.fr/xenocara/xserver/hw/xquartz/bundle/X11.sh

Branch :

  • Show log

    Commit

  • Author : matthieu
    Date : 2009-09-06 19:44:18
    Hash : 88f6f3ea
    Message : update to xserver 1.6.4rc1. Tested by many, ok oga@.

  • xserver/hw/xquartz/bundle/X11.sh
  • #!/bin/bash
    
    set "$(dirname "$0")"/X11.bin "${@}"
    
    if [ -x ~/.x11run ]; then
    	exec ~/.x11run "${@}"
    fi
    
    case $(basename "${SHELL}") in
    	bash)          exec -l "${SHELL}" --login -c 'exec "${@}"' - "${@}" ;;
    	ksh|sh|zsh)    exec -l "${SHELL}" -c 'exec "${@}"' - "${@}" ;;
    	csh|tcsh)      exec -l "${SHELL}" -c 'exec $argv:q' "${@}" ;;
    	es|rc)         exec -l "${SHELL}" -l -c 'exec $*' "${@}" ;;
    	*)             exec    "${@}" ;;
    esac