chiark / gitweb /
Directories: do not process dotfiles/dot itself (!)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 16 Dec 2015 18:27:04 +0000 (18:27 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 16 Dec 2015 18:27:04 +0000 (18:27 +0000)
infra/makelinks

index ac907f7..55de7a6 100755 (executable)
@@ -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/}