diff options
author | Yurii Rashkovskii <[email protected]> | 2011-08-04 14:22:59 -0700 |
---|---|---|
committer | Yurii Rashkovskii <[email protected]> | 2011-08-04 14:22:59 -0700 |
commit | 1b0ed66f6734420e3a4f1aae110dabd599ea40d1 (patch) | |
tree | fb47266b9168e1a01e799011fc880717589d6e9b | |
parent | 2d7e965827b822604782175af198ede9c15f2013 (diff) | |
parent | 8e73aad607d7924971cbf5777ef5980838566d13 (diff) | |
download | kerl-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-x | kerl | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -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 } |