Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263426 - kde-base/kdebase-startkde-4.2.1: /usr/bin/startkde script is not POSIX-compliant
Summary: kde-base/kdebase-startkde-4.2.1: /usr/bin/startkde script is not POSIX-compliant
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-03-22 23:19 UTC by Davide Pesavento
Modified: 2009-03-23 03:10 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 Davide Pesavento (RETIRED) gentoo-dev 2009-03-22 23:19:23 UTC
/usr/bin/startkde is executed by /bin/sh, thus it must be POSIX-compliant, because /bin/sh may not be a bash shell. In this case '==' is used for string comparison, instead of '='.

Note that the original (upstream) script was fine, but it has been broken by this Gentoo patch:
/usr/portage/kde-base/kdebase-startkde/files/gentoo-startkde4.patch

The fix is 's/==/=/' on the patch file.
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-03-23 03:10:34 UTC
Thanks for the bug report. Fixed in the tree.