mirror of
https://github.com/NixOS/nix.git
synced 2024-11-27 01:02:34 +00:00
parent
4bf6af7b55
commit
a0357abda7
@ -147,7 +147,7 @@ Path canonPath(PathView path, bool resolveSymlinks)
|
||||
path = {};
|
||||
} else {
|
||||
s += path.substr(0, slash);
|
||||
path = path.substr(slash + 1);
|
||||
path = path.substr(slash);
|
||||
}
|
||||
|
||||
/* If s points to a symlink, resolve it and continue from there */
|
||||
|
Loading…
Reference in New Issue
Block a user