diff --git a/example.sh b/example.sh index 12e92c7..1824dc3 100644 --- a/example.sh +++ b/example.sh @@ -28,7 +28,7 @@ find . -maxdepth 1 -type d | grep -v "^.$" | sort | while read -r dir; do printf "%s..." "${d}" cd "${curdir}" - + test -d "${d}" || mkdir -p "${d}" cd "${d}" stagit "${reposdir}${d}"