chiark / gitweb /
Directories: do not process dotfiles/dot itself (!)
[ian-dotfiles.git] / infra / makelinks
index ac907f73ce19fb38235402200f72cf2b8e66315c..55de7a63e92f6160f3da57762dcb7aca8b64ab8f 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/}