Bug 431668 - "/etc/profile.d/colorls.sh: line 10: [: : integer expression expected"
Summary: "/etc/profile.d/colorls.sh: line 10: [: : integer expression expected"
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-06 10:40 UTC by Jonathan Kamens
Modified: 2008-02-14 15:29 UTC (History)
2 users (show)

Fixed In Version: coreutils-6.10-7.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-14 15:29:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jonathan Kamens 2008-02-06 10:40:59 UTC
Got "/etc/profile.d/colorls.sh: line 10: [: : integer expression expected" from
/etc/cron.daily/cyrus-imapd with coreutils-6.10-f.fc9.  The problem is that the
referenced line assumes that a particular infocmp | sed command will return a
number, when I suspect that it can also return an empty string (e.g., if TERM
isn't set).  The easiest fix is probably to use = instead of -eq.

Comment 1 Ondrej Vasik 2008-02-06 11:04:14 UTC
Thanks for report, will fix that in next rawhide build...

Comment 2 Ondrej Vasik 2008-02-14 15:29:38 UTC
Fixed in coreutils-6.10-7.fc9 .


Note You need to log in before you can comment on or make changes to this bug.