Skip to content
Snippets Groups Projects
Commit 201987e5 authored by Benjamin Drung's avatar Benjamin Drung
Browse files

Fix not resolving timezone aliases


Commit 2c763ac3 changed `readlink` to
use `--canonicalize-missing` but that resolves **all** symlink including
timezone aliases (e.g. `Arctic/Longyearbyen` points to `Europe/Berlin`).

Revert the code change from commit
2c763ac3 and use `realpath` instead.
This converts relative paths to absolute paths without resolving
symlinks inside the path.

Closes: #1030742
Signed-off-by: default avatarBenjamin Drung <benjamin.drung@canonical.com>
parent 048cb893
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment