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;ds=sidebyside;h=5260413e3a3179f51dbedf7b923bcc7ceb6f4bd5;hp=41b1c42d3657c8804671f2df46ec8cc9a98f0143;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