Bug 3860 - startx script uses a bash feature but uses /bin/sh
Summary: startx script uses a bash feature but uses /bin/sh
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-24 11:09 UTC by Diego Elio Pettenò
Modified: 2005-07-24 23:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.