1
0
forked from colin/nix-files

sane-sandboxed: hopefully fix a problem with path normalization for paths with spaces

This commit is contained in:
Colin 2024-02-02 22:56:43 +00:00
parent 5e3c2636db
commit 0ee9f2026c

View File

@ -399,7 +399,7 @@ canonicalizePaths() {
# remove '//' and simplify '.', '..' paths, into canonical absolute logical paths.
_normPaths=()
for _path in "${paths[@]}"; do
_normPaths+=($(normPath "$_path"))
_normPaths+=("$(normPath "$_path")")
done
# remove subpaths, but the result might include duplicates.