aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/x-indent.sh
Commit message (Collapse)AuthorAgeFilesLines
* shellcheck: Fix SC2230 issueMike Gabriel2021-06-071-1/+1
| | | | | | | | | | | | | ./nx-X11/x-indent.sh line 5: INDENT=$(which gnuindent || which gindent || which indent) ^---^ SC2230: which is non-standard. Use builtin 'command -v' instead. ^---^ SC2230: which is non-standard. Use builtin 'command -v' instead. ^---^ SC2230: which is non-standard. Use builtin 'command -v' instead. For more information: https://www.shellcheck.net/wiki/SC2230 -- which is non-standard. Use builti... Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* shellcheck: Fix SC2006 issueMario Trangoni2021-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Copy x-indent.sh and x-indent-all.sh from xorg/util/modular.Mike Gabriel2016-06-211-0/+29