diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2004-02-23 21:37:35 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2004-02-23 21:37:35 +0000 |
commit | e8d40d81033a72239600c7bc7017f03cd08734dc (patch) | |
tree | 8c5d3c745fb2e46d3ab9a604f9199377e3a7ffd5 | |
parent | f97cce57e0c788702cd6615e4adbc0ef47363e72 (diff) |
merge most of XFree86 RC3 (4.3.99.903) from vendor branch. bug #214XORG-RELEASE-1-BASEXEVIE-MERGEXINERAMA_2
-rw-r--r-- | xon | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ #!/bin/sh # $Xorg: xon.sh,v 1.4 2000/12/20 16:50:07 pookie Exp $ -# $XFree86: xc/programs/scripts/xon.sh,v 1.8 2003/04/03 22:28:01 dawes Exp $ +# $XFree86: xc/programs/scripts/xon.sh,v 1.9 2004/02/08 00:48:27 dawes Exp $ # start up xterm (or any other X command) on the specified host # Usage: xon host [arguments] [command] @@ -171,7 +171,7 @@ x*) sess_mangr="SESSION_MANAGER=$SESSION_MANAGER " ;; esac -vars='PATH=$PATH:/usr/X11R6/bin '"$xpath$xauth$sess_mangr"DISPLAY="$DISPLAY" +vars='PATH=${PATH:+$PATH:}/usr/X11R6/bin '"$xpath$xauth$sess_mangr"DISPLAY="$DISPLAY" case $# in 0) $rcmd 'sh -c '"'$vars"' xterm '$ls' -name "'"$resource"'" -T "'"$label"'" -n "'"$label"'" '"$redirect'" |