Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20308 - /etc/X11/chooser.sh is not POSIX compliant shell script
Summary: /etc/X11/chooser.sh is not POSIX compliant shell script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-02 02:32 UTC by Björn Lindström
Modified: 2003-09-26 00:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Lindström 2003-05-02 02:32:03 UTC
The keyword "source" is a bashism. To fix, apply the following patch, or set the
first line of /etc/X11/chooser.sh to #!/bin/bash

10,11c10,11
<       [ -f /etc/conf.d/basic ] && source /etc/conf.d/basic
<       [ -f /etc/rc.conf ] && source /etc/rc.conf
---
>       [ -f /etc/conf.d/basic ] && . /etc/conf.d/basic
>       [ -f /etc/rc.conf ] && . /etc/rc.conf
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-14 20:59:28 UTC
thanks bjorn, changed in portage for 4.3.0 and up.