summaryrefslogtreecommitdiff
path: root/bin/hstow
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-01-27 11:07:08 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-01-27 15:16:04 -0700
commit7fc6fc27e679ff3a1b2746244802d74e6e02bba0 (patch)
tree297ecc7f75306880d1852757bacd656cbe75e5be /bin/hstow
parent151aa5cd8fbad6a079633473cf3e6a0d8218a638 (diff)
downloaddotfiles-7fc6fc27e679ff3a1b2746244802d74e6e02bba0.tar.gz
hstow: don't look for links to unstow inside our .STOW directory
Diffstat (limited to 'bin/hstow')
-rwxr-xr-xbin/hstow2
1 files changed, 1 insertions, 1 deletions
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 \