Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265736 - sys-libs/timezone-data - accept comments at /etc/timezone
Summary: sys-libs/timezone-data - accept comments at /etc/timezone
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-11 09:01 UTC by Alon Bar-Lev
Modified: 2009-04-11 15:26 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 Alon Bar-Lev 2009-04-11 09:01:39 UTC
Hello,

Please consider accepting comments and multiline input at /etc/zoneinfo.

Should be simple to convert:
tz=$(<"${ROOT}"/etc/timezone)
to Something like:
tz=$(sed -e 's/#.*//' -e 's/^[ \t]*$//' -e '/^$/d' /etc/timezone)

Thanks!