From 41604a58538919c45f06e5455ee18b10aeec03ca Mon Sep 17 00:00:00 2001 From: "David M. Syzdek" Date: Mon, 29 Jul 2019 13:37:04 -0800 Subject: fixing condiditionals (used perl elsif instead of bash elif) --- src/bbfw.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bbfw.in b/src/bbfw.in index e22820f..5bc8d7f 100755 --- a/src/bbfw.in +++ b/src/bbfw.in @@ -341,13 +341,13 @@ FW_VERBOSE="$( config_option verbose "${FW_VERBOSE}" A-Z a-z )" # checks and normalizes options if test "x${FW_QUIET}" == "xno";then unset FW_QUIET -elsif test "x${FW_QUIET}" != "xno";then +elif test "x${FW_QUIET}" != "xno";then echo "${PROGRAM_NAME}: invalid value for option 'quiet'" 1>&2 exit 1 fi if test "x${FW_VERBOSE}" == "xno";then unset FW_VERBOSE -elsif test "x${FW_VERBOSE}" != "xno";then +elif test "x${FW_VERBOSE}" != "xno";then echo "${PROGRAM_NAME}: invalid value for verbose 'quiet'" 1>&2 exit 1 else -- cgit v1.2.3