summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid Mehren2020-11-17 21:22:48 +0100
committerDavid Mehren2020-11-17 21:22:48 +0100
commitcbce0caa84f2dc87cc45e9f219fd581f73598681 (patch)
tree39b12954ca6b3f1f04bc928d57348fe039b29bcb /bin
parent64d6073aa16855bdecacea8983ee9244a6889ed8 (diff)
Fix shellcheck error in bin/setup
Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/setup b/bin/setup
index 926c8cbc..0cd46b83 100755
--- a/bin/setup
+++ b/bin/setup
@@ -2,7 +2,7 @@
set -e
-version_lt() { test "$(printf '%s\n' "$@" | { [ "$(uname)" = "Linux" ] && sort -V || sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n; } | tail -n 1)" != "$1"; }
+version_lt() { test "$(printf '%s\n' "$@" | { [ "$(uname)" = "Linux" ] && (sort -V || sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n;) } | tail -n 1)" != "$1"; }
# run command at repo root
CURRENT_PATH=$PWD