aboutsummaryrefslogtreecommitdiff
path: root/contrib/guix/guix-clean
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/guix/guix-clean')
-rwxr-xr-xcontrib/guix/guix-clean2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/guix/guix-clean b/contrib/guix/guix-clean
index 9fa17191e8..9af0a793cf 100755
--- a/contrib/guix/guix-clean
+++ b/contrib/guix/guix-clean
@@ -34,7 +34,7 @@ check_tools cat mkdir make git guix
#
under_dir() {
local path_residue
- path_residue="${2##${1}}"
+ path_residue="${2##"${1}"}"
if [ -z "$path_residue" ] || [ "$path_residue" = "$2" ]; then
return 1
else