diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-04-09 17:22:48 -0700 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-06-23 15:44:04 -1000 |
commit | 3047df231743969ec2b4641d531e888b8c7f30e0 (patch) | |
tree | b2228a4b77c21574af001b8f977678c05f5086cd /tools/xz | |
parent | ab5010d17055234b3477dce8fc99437ab3f457fa (diff) | |
download | upstream-3047df231743969ec2b4641d531e888b8c7f30e0.tar.gz upstream-3047df231743969ec2b4641d531e888b8c7f30e0.tar.bz2 upstream-3047df231743969ec2b4641d531e888b8c7f30e0.zip |
base-files: fix zoneinfo support
The system init script currently sets /tmp/localinfo when zoneinfo is
populated. However, zoneinfo has spaces in it whereas the actual files
have _ instead of spaces. This made the if condition never return true.
Example failure when removing the if condition:
/tmp/localtime -> /usr/share/zoneinfo/America/Los Angeles
This file does not exist. America/Los_Angeles does.
Ran through shfmt -w -ci -bn -sr -s
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 8af62ede189aa504135db05474d34c9f8a1ed35d)
Diffstat (limited to 'tools/xz')
0 files changed, 0 insertions, 0 deletions