From 98beaf656f8fe54a658ca9ef5fb1f23d95d41a55 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 2 Oct 2015 11:11:39 +1300 Subject: Appease shellcheck with multi arith exps --- bash/bash_profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bash/bash_profile') diff --git a/bash/bash_profile b/bash/bash_profile index e8762fd2..f89d83f1 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -8,8 +8,8 @@ fi # 2.05a). if ! [ -n "$BASH_VERSINFO" ] ; then return -elif ((BASH_VERSINFO[0] == 2 && \ - 10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 5)) ; then +elif ((BASH_VERSINFO[0] == 2)) && \ + ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 5)) ; then return fi -- cgit v1.2.3