Opps, other commit messages came from other projects. This replaces backticks
[jprojects-scripts.git] / commit-jprojects.sh
index 802ea6a..99f58bd 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