Continued:
[jprojects-scripts.git] / create-jproject-branch.sh
index bcd820c..3d14093 100755 (executable)
@@ -12,8 +12,13 @@ COMMIT_ADD=""
 AFTER_COMMIT_BRANCH="master"
 
 for project in ${LIST}; do
 AFTER_COMMIT_BRANCH="master"
 
 for project in ${LIST}; do
-       if [ ! - d "${JPROJECTS_HOME}/${project}" ]
+       if [ "${project}" = "jprojects-scripts" ]
        then
        then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       then
+               echo "$0: Project '${project}' does not exist."
                continue
        fi
 
                continue
        fi