From: Ian Jackson Date: Wed, 16 Dec 2015 18:27:04 +0000 (+0000) Subject: Directories: do not process dotfiles/dot itself (!) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=51499ec4fac3fbb4ffd51b8af774ba39851bc84e;p=ian-dotfiles.git Directories: do not process dotfiles/dot itself (!) --- diff --git a/infra/makelinks b/infra/makelinks index ac907f7..55de7a6 100755 --- a/infra/makelinks +++ b/infra/makelinks @@ -33,7 +33,7 @@ esac mode=$1; shift -dots=$( find dot -maxdepth 1 -name '[0-9a-zA-Z]*[0-9a-zA-Z]' ) +dots=$( find dot -mindepth 1 -maxdepth 1 -name '[0-9a-zA-Z]*[0-9a-zA-Z]' ) basepath=$(pwd) basepath=${basepath#$HOME/}