| View previous topic :: View next topic |
| Author |
Message |
VinzC Watchman


Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Wed Jan 09, 2008 12:39 pm Post subject: Typo error in /etc/init.d/clock (baselayout 1.12.10-r5) |
|
|
Hi.
I think there is a typo error in baselayout 1.12.10-r5; a colon is missing from file /etc/init.d/clock
| /etc/init.d/clock: | @@ -57,7 +57,7 @@
# Make sure people set their timezone ... we do it here
# even though we don't actually use the variable so that
# people see the warning on boot.
- if [[ ${TIMEZONE:-Factory} == "Factory" ]] ; then
+ if [[ ${TIMEZONE-Factory} == "Factory" ]] ; then
ewarn "Your TIMEZONE in /etc/conf.d/clock is still set to Factory!"
fi
}
|
I think it should be left unchanged; ${TIMEZONE-Factory} is always blank (not sure it is a valid variable though). Can anyone confirm? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
| Back to top |
|
 |
Polynomial-C Retired Dev


Joined: 01 Jun 2003 Posts: 1432 Location: Germany
|
|
| Back to top |
|
 |
VinzC Watchman


Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Wed Jan 09, 2008 1:41 pm Post subject: |
|
|
Nope as I didn't know if it was on purpose or not. (I didn't expect an error in that file.) _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
| Back to top |
|
 |
Polynomial-C Retired Dev


Joined: 01 Jun 2003 Posts: 1432 Location: Germany
|
Posted: Wed Jan 09, 2008 1:54 pm Post subject: |
|
|
I think it's really an error in the script. I looked at the bash manpage and there is no ${VAR-string} described, only ${VAR:-string}. I think the gentoo-devs would like to know about this... _________________ The manual said "Requires Windows10 or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
| Back to top |
|
 |
VinzC Watchman


Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Wed Jan 09, 2008 2:45 pm Post subject: |
|
|
Bugzilla Bug 205075.
EDIT: Not a bug. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
| Back to top |
|
 |
|