From: Roland Haeder Date: Sun, 10 Apr 2016 19:31:38 +0000 (+0200) Subject: Should check for .git/config in each project X-Git-Url: https://git.mxchange.org/?p=jprojects-scripts.git;a=commitdiff_plain;h=dbe4f474f3a21cc6a517427a9b3842e0645eea56;ds=sidebyside Should check for .git/config in each project Signed-off-by: Roland Haeder --- diff --git a/.jprojects.sh b/.jprojects.sh index 397e672..8764853 100644 --- a/.jprojects.sh +++ b/.jprojects.sh @@ -35,7 +35,7 @@ for project in ${LIST}; do then echo "$0: Project '${project}' not created." exit 1 - elif [ ! -d "${project}" ] + elif [ ! -f "${project}/.git/config" ] then echo "$0: Project '${project}' is no GIT project." exit 1