]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
archive.sh: Skip nonexistent repositories.
authorSimon Ruderich <simon@ruderich.org>
Sun, 10 Mar 2013 22:02:27 +0000 (23:02 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 10 Mar 2013 22:02:27 +0000 (23:02 +0100)
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