aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/x-indent.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-02-03 14:53:40 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-02-03 14:53:40 +0100
commit3e02494cbc29d2a40b377cc803eae3eb50911e11 (patch)
tree6c35a90f2e1b6715af66458127217d2e97ffd16f /nx-X11/x-indent.sh
parentf696a57f8f17b87deca8079ac9a71d184bfedb53 (diff)
parent9d0364198e1e161e540e05757f40935f7018d8d6 (diff)
downloadnx-libs-3e02494cbc29d2a40b377cc803eae3eb50911e11.tar.gz
nx-libs-3e02494cbc29d2a40b377cc803eae3eb50911e11.tar.bz2
nx-libs-3e02494cbc29d2a40b377cc803eae3eb50911e11.zip
Merge branch 'mjtrangoni-fix-shellcheck-issues' into 3.6.x
Attributes GH PR #996: https://github.com/ArcticaProject/nx-libs/pull/996
Diffstat (limited to 'nx-X11/x-indent.sh')
-rwxr-xr-xnx-X11/x-indent.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/x-indent.sh b/nx-X11/x-indent.sh
index e662cce09..327aa6a4f 100755
--- a/nx-X11/x-indent.sh
+++ b/nx-X11/x-indent.sh
@@ -2,7 +2,7 @@
# We want GNU indent, so first search for gindent to avoid /usr/bin/indent
# on the BSDs, which won't work for us
-INDENT=`which gnuindent || which gindent || which indent`
+INDENT=$(which gnuindent || which gindent || which indent)
if [ -z "${INDENT}" ] ; then
echo "Could not find indent, sorry..." >&2