From 7fc6fc27e679ff3a1b2746244802d74e6e02bba0 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 27 Jan 2023 11:07:08 -0700 Subject: hstow: don't look for links to unstow inside our .STOW directory --- bin/hstow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/hstow') diff --git a/bin/hstow b/bin/hstow index 8da39a47..c7f783ed 100755 --- a/bin/hstow +++ b/bin/hstow @@ -197,7 +197,7 @@ unstow () { # 255 then xargs will give up. So we wrap in a call to sh -c. find . ! \( -user "$(id -un)" -o -group "$(id -gn)" \) -prune -o \ $(globs_to_find_args \ - .hstow-unstow-ignore \ + .hstow-unstow-ignore ".STOW/*" \ "$(echo "$DIR" \ | cut -c$((1 + $(echo "$HOME" | wc -m)))-)/*") \ -type l ! -name . ! -name "$cchars" -print \ -- cgit v1.2.3