From 1137bec6db0d6cb7804d5bc480b4409ed54e2cd5 Mon Sep 17 00:00:00 2001 From: Thiago Scalone <155578946+scalone-cw@users.noreply.github.com> Date: Fri, 5 Aug 2011 01:09:40 +0400 Subject: [PATCH] if KERL_DISABLE_AGNER is set, agner_support should return 1 --- kerl | 16 +++++++++------- 1 file 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 }