aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-10-02 11:11:39 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-10-02 11:11:39 +1300
commit98beaf656f8fe54a658ca9ef5fb1f23d95d41a55 (patch)
tree6594857b618281df9686ecb7ddcdb1e90732a4d3 /bash/bash_profile
parentUse printf not echo (diff)
downloaddotfiles-98beaf656f8fe54a658ca9ef5fb1f23d95d41a55.tar.gz
dotfiles-98beaf656f8fe54a658ca9ef5fb1f23d95d41a55.zip
Appease shellcheck with multi arith exps
Diffstat (limited to 'bash/bash_profile')
-rw-r--r--bash/bash_profile4
1 files changed, 2 insertions, 2 deletions
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