Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 263426

Summary: kde-base/kdebase-startkde-4.2.1: /usr/bin/startkde script is not POSIX-compliant
Product: Gentoo Linux Reporter: Davide Pesavento (RETIRED) <pesa>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.