aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYurii Rashkovskii <[email protected]>2011-08-04 14:22:59 -0700
committerYurii Rashkovskii <[email protected]>2011-08-04 14:22:59 -0700
commit1b0ed66f6734420e3a4f1aae110dabd599ea40d1 (patch)
treefb47266b9168e1a01e799011fc880717589d6e9b
parent2d7e965827b822604782175af198ede9c15f2013 (diff)
parent8e73aad607d7924971cbf5777ef5980838566d13 (diff)
downloadkerl-1b0ed66f6734420e3a4f1aae110dabd599ea40d1.tar.gz
kerl-1b0ed66f6734420e3a4f1aae110dabd599ea40d1.tar.bz2
kerl-1b0ed66f6734420e3a4f1aae110dabd599ea40d1.zip
Merge pull request #2 from travis-ci/master
if KERL_DISABLE_AGNER is set, agner_support should return 1
-rwxr-xr-xkerl16
1 files changed, 9 insertions, 7 deletions
diff --git a/kerl b/kerl
index 9aff059..0530f75 100755
--- a/kerl
+++ b/kerl
@@ -140,14 +140,16 @@ R12B-2 R12B-3 R12B-4 R12B-5 R13A R13B R13B01 R13B02 R13B03 R13B04"
agner_support()
{
if [ -z "$KERL_DISABLE_AGNER" ]; then
- for v in $KERL_NO_AGNER_SUPPORT; do
- if [ "$v" = "$1" ]; then
- return 1
- fi
- done
- return 0
+ return 1;
fi
- return 1
+
+ for v in $KERL_NO_AGNER_SUPPORT; do
+ if [ "$v" = "$1" ]; then
+ return 1
+ fi
+ done
+
+ return 0
}