[Portland] xdg-utils-optgnome.patch
Rex Dieter
rdieter at math.unl.edu
Mon Jul 24 13:51:23 PDT 2006
Bastian, Waldo wrote:
> Interesting, which shell are you using? Is this on FC6?
Using bash-3.0 and bash-2.05a, the for loop x ends up taking the value
"<last element of $PATH> /opt/gnome/bin" (space separating them).
Admittedly, looks like a bash bug to me, but easier to workaround by
using sed to tranlate ":" into " ".
-- Rex
>> -----Original Message-----
>> From: portland-bounces at lists.freedesktop.org [mailto:portland-
>> bounces at lists.freedesktop.org] On Behalf Of Rex Dieter
>> Sent: Monday, July 24, 2006 11:25 AM
>> To: portland at lists.freedesktop.org
>> Subject: [Portland] xdg-utils-optgnome.patch
>>
>> The construct
>>
>> IFS=:
>> for x in $PATH:/opt/gnome/bin ; do
>> ...
>> use in a few of the xdg-utils scripts doesn't work (for me), but
>> changing it to (something like):
>> MYPATH=$PATH:/opt/gnome/bin
>> for x in $MYPATH ; do
>> *does*. Potential patch attached.
>>
>> -- Rex
More information about the Portland
mailing list