aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCamil Staps2016-05-03 14:50:09 +0200
committerCamil Staps2016-11-30 19:11:43 +0100
commit82d1bf014082e08fc608976b96d689d65a858700 (patch)
treeeee095e5d068ad062f203294f1adade9b4903adc /bin
parentgitconfig (diff)
pylint fixes; syntastic python checker sucks
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pylint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pylint.sh b/bin/pylint.sh
index 28087c7..546f8c8 100755
--- a/bin/pylint.sh
+++ b/bin/pylint.sh
@@ -7,7 +7,7 @@ then
return
fi
-if [ "$PYMAJOR" <> "2" ] && [ "$PYMAJOR" <> "3" ]
+if [[ "$PYMAJOR" != "2" ]] && [[ "$PYMAJOR" != "3" ]]
then
PYMAJOR=2
grep '#!.*python3' "${@: -1}" >/dev/null && PYMAJOR=3