Bug 3860

Summary: startx script uses a bash feature but uses /bin/sh
Product: xorg Reporter: Diego Elio Pettenò <flameeyes>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Diego Elio Pettenò 2005-07-24 11:09:27 UTC
Currently the startx script uses a bash feature ( [ == ] ) but it declares 
itself as a #!/bin/sh script; standard sh doesn't support that check, and fail 
to run the script: 
 
    if [ "z${authcookie}" == "z" ] ; then 
        xauth -q << EOF 
add $displayname . $mcookie 
EOF 
 
Thanks, 
Diego
Comment 1 Adam Jackson 2005-07-26 09:19:20 UTC
fixed in HEAD, thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.