diff options
author | Mario Trangoni <mjtrangoni@gmail.com> | 2021-01-31 14:17:39 +0100 |
---|---|---|
committer | Mario Trangoni <mjtrangoni@gmail.com> | 2021-01-31 14:17:39 +0100 |
commit | 5b628e2d79bce67b255690e0a54a0a488bbb05e0 (patch) | |
tree | 9858ae1027e11a096323b92a351b00553fc3fefa /roll-tarballs.sh | |
parent | e5746df802eff5c50e46ef5ee96b3f0e34a00003 (diff) | |
download | nx-libs-5b628e2d79bce67b255690e0a54a0a488bbb05e0.tar.gz nx-libs-5b628e2d79bce67b255690e0a54a0a488bbb05e0.tar.bz2 nx-libs-5b628e2d79bce67b255690e0a54a0a488bbb05e0.zip |
shellcheck: Fix SC2006 issue
See,
$ find . -name "*.sh" | xargs shellcheck -i SC2006
In ./roll-tarballs.sh line 62:
echo "HEAD (on branch `git rev-parse --abbrev-ref HEAD`)"
^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
Did you mean:
echo "HEAD (on branch $(git rev-parse --abbrev-ref HEAD))"
In ./nx-X11/x-indent-all.sh line 2:
where=`dirname $0`
^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
Did you mean:
where=$(dirname $0)
In ./nx-X11/x-indent.sh line 5:
INDENT=`which gnuindent || which gindent || which indent`
^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
Did you mean:
INDENT=$(which gnuindent || which gindent || which indent)
For more information:
https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
Diffstat (limited to 'roll-tarballs.sh')
-rwxr-xr-x | roll-tarballs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roll-tarballs.sh b/roll-tarballs.sh index dc30a8a17..acef42daa 100755 --- a/roll-tarballs.sh +++ b/roll-tarballs.sh @@ -59,7 +59,7 @@ fi if ! git rev-parse --verify -q "$CHECKOUT" >/dev/null; then echo " '${RELEASE}' is not a valid release number because there is no git tag named ${CHECKOUT}." echo " Please specify one of the following releases:" - echo "HEAD (on branch `git rev-parse --abbrev-ref HEAD`)" + echo "HEAD (on branch $(git rev-parse --abbrev-ref HEAD))" git tag -l | grep "^redist" | cut -f2 -d"/" | sort -u exit 1 fi |