]> git.armaanb.net Git - stagit.git/blobdiff - example_create.sh
Redirect stdout to correct file.
[stagit.git] / example_create.sh
index aff7d54da75611ae7d20ec6a4887bdcd7778e15b..cf16e1d6f73dca4e8bb35997289600f88ad10a64 100755 (executable)
@@ -30,7 +30,7 @@ for dir in "${reposdir}/"*/; do
        printf "%s... " "${d}"
 
        mkdir -p "${curdir}/${d}"
-       cd "${curdir}/${d}"
+       cd "${curdir}/${d}" || continue
        stagit -c ".cache" "${reposdir}/${r}"
 
        # symlinks