cleanup is now done separately and only if requested. Yes, getting messy ...
[jprojects-scripts.git] / commit-jprojects.sh
index 802ea6a37806b165951cb0d0ba65c969b4765c0c..99f58bdb05bc5d005d0046bf208d5220ef749660 100755 (executable)
@@ -14,7 +14,7 @@ for project in ${LIST}; do
        fi
 
        cd "${JPROJECTS_HOME}/${project}" || exit 255
-       CHECK_CHANGES=`git commit -a --dry-run | grep "Changes to be committed:"`
+       CHECK_CHANGES=$(git commit -a --dry-run | grep "Changes to be committed:")
 
        if [ -n "${CHECK_CHANGES}" ]
        then