]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - archive.sh
archive.sh: Skip nonexistent repositories.
[config/dotfiles.git] / archive.sh
index 7522747b0dacb84ea44bc4d92c85521a599b0647..1cfaf93bbbe03e3490633197429eb2abf0c70366 100755 (executable)
@@ -37,6 +37,8 @@ fi
 
 git_clone . tmp/dotfiles
 for name in browser shell vcs vim x11; do
+    test -d $name || continue
+
     echo "cloning $name to tmp/"
     git_clone $name tmp/dotfiles/$name
 done