]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
Should check for .git/config in each project
authorRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 19:31:38 +0000 (21:31 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 10 Apr 2016 19:31:38 +0000 (21:31 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
.jprojects.sh

index 397e672f7c88f44d7b89d81a6cd61d5c96569293..8764853d5534bf76e398ae344b211e4b977475d8 100644 (file)
@@ -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