By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 879 - starttde $PATH is inconsistent with tdelibs/tdesu/stub.cpp
Summary: starttde $PATH is inconsistent with tdelibs/tdesu/stub.cpp
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Other
: P1 major
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-02-27 11:55 CST by Darrell
Modified: 2012-10-19 15:41 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Proposed fix to starttde to not blindly place $PREFIX/bin first in the search path (1.12 KB, patch)
2012-02-27 11:55 CST, Darrell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2012-02-27 11:55:18 CST
Created attachment 429 [details]
Proposed fix to starttde to not blindly place $PREFIX/bin first in the search path

Update starttde to be consistent with the changes made to tdelibs/tdesu/stub.cpp in bug report 766.

In the attached patch, the first snippet that is deleted is redundant and conflicts with the same $PATH environment variable test several lines later in the script.

The second change ensures the $PATH environment variable is consistent with stub.cpp, which places $PREFIX/bin in the path order just before /usr/bin and not blindly as first in the search path. If, oddly, /usr/bin is not in the search path then the script falls back to placing $PREFIX/bin first in the search path.

Some people want a more robust patch than the one proposed.
Comment 1 Darrell 2012-03-03 15:51:12 CST
Patch updated and merged with other starttde fixes in attachment 458 [details] of bug report 675. Please do not merge the patch attached to this bug report.
Comment 2 Darrell 2012-03-06 12:20:40 CST
This bug report was resolved with the latest patches submitted in bug report 675.