From: Roland Häder <roland@mxchange.org>
Date: Tue, 25 Apr 2017 11:39:07 +0000 (+0200)
Subject: Opps, other commit messages came from other projects. This replaces backticks
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2aa2d86cc5507a741523b9ab6ca94d804885486a;p=jprojects-scripts.git

Opps, other commit messages came from other projects. This replaces backticks
with parentheses again: $(foo --bar) and not `foo --bar`.

Signed-off-by: Roland Häder <roland@mxchange.org>
---

diff --git a/commit-jprojects.sh b/commit-jprojects.sh
index 802ea6a..99f58bd 100755
--- a/commit-jprojects.sh
+++ b/commit-jprojects.sh
@@ -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