diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-07 15:06:58 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-07 15:06:58 +0200 |
commit | 1fc5c689ed63b2c053ed223453d22c5559c706d6 (patch) | |
tree | c0889225d7462abe7f3168f3b268081366d9c2e3 /nx-X11/x-indent.sh | |
parent | f4d654e6b5e993c15a3545c8d4e8d8ef3bb12b2b (diff) | |
parent | 6bada8f63d98128b269fb379194aead1eacbd711 (diff) | |
download | nx-libs-1fc5c689ed63b2c053ed223453d22c5559c706d6.tar.gz nx-libs-1fc5c689ed63b2c053ed223453d22c5559c706d6.tar.bz2 nx-libs-1fc5c689ed63b2c053ed223453d22c5559c706d6.zip |
Merge branch 'mjtrangoni-fix-shellcheck-issues' into 3.6.x
Attributes GH PR #1001: https://github.com/ArcticaProject/nx-libs/pull/1001
Diffstat (limited to 'nx-X11/x-indent.sh')
-rwxr-xr-x | nx-X11/x-indent.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/x-indent.sh b/nx-X11/x-indent.sh index 327aa6a4f..4690372e6 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=$(command -v gnuindent || command -v gindent || command -v indent) if [ -z "${INDENT}" ] ; then echo "Could not find indent, sorry..." >&2 |