]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
Opps, other commit messages came from other projects. This replaces backticks
authorRoland Häder <roland@mxchange.org>
Tue, 25 Apr 2017 11:39:07 +0000 (13:39 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 25 Apr 2017 11:39:07 +0000 (13:39 +0200)
with parentheses again: $(foo --bar) and not `foo --bar`.

Signed-off-by: Roland Häder <roland@mxchange.org>
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