From 0ee9f2026c60b377a81220c6868c20e57f9b8a67 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 2 Feb 2024 22:56:43 +0000 Subject: [PATCH] sane-sandboxed: hopefully fix a problem with path normalization for paths with spaces --- modules/programs/sane-sandboxed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/sane-sandboxed b/modules/programs/sane-sandboxed index 4f638577b..12f2d203b 100644 --- a/modules/programs/sane-sandboxed +++ b/modules/programs/sane-sandboxed @@ -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.