From: Simon Ruderich Date: Sun, 10 Mar 2013 22:02:27 +0000 (+0100) Subject: archive.sh: Skip nonexistent repositories. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=5260413e3a3179f51dbedf7b923bcc7ceb6f4bd5;p=config%2Fdotfiles.git archive.sh: Skip nonexistent repositories. --- diff --git a/archive.sh b/archive.sh index 7522747..1cfaf93 100755 --- a/archive.sh +++ b/archive.sh @@ -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