diff options
| author | David M. Syzdek <syzdek@bindlebinaries.com> | 2019-07-29 13:37:04 -0800 |
|---|---|---|
| committer | David M. Syzdek <syzdek@bindlebinaries.com> | 2019-07-29 13:37:04 -0800 |
| commit | 41604a58538919c45f06e5455ee18b10aeec03ca (patch) | |
| tree | 62d715689c85b5443c44e304129e1d9d25e8edf1 | |
| parent | 89f016405f851a684d02d2a029529e59154ac661 (diff) | |
| download | bbfw-41604a58538919c45f06e5455ee18b10aeec03ca.tar.gz bbfw-41604a58538919c45f06e5455ee18b10aeec03ca.tar.bz2 bbfw-41604a58538919c45f06e5455ee18b10aeec03ca.tar.xz bbfw-41604a58538919c45f06e5455ee18b10aeec03ca.zip | |
fixing condiditionals (used perl elsif instead of bash elif)
| -rwxr-xr-x | src/bbfw.in | 4 |
1 files 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 )" | |||
| 341 | # checks and normalizes options | 341 | # checks and normalizes options |
| 342 | if test "x${FW_QUIET}" == "xno";then | 342 | if test "x${FW_QUIET}" == "xno";then |
| 343 | unset FW_QUIET | 343 | unset FW_QUIET |
| 344 | elsif test "x${FW_QUIET}" != "xno";then | 344 | elif test "x${FW_QUIET}" != "xno";then |
| 345 | echo "${PROGRAM_NAME}: invalid value for option 'quiet'" 1>&2 | 345 | echo "${PROGRAM_NAME}: invalid value for option 'quiet'" 1>&2 |
| 346 | exit 1 | 346 | exit 1 |
| 347 | fi | 347 | fi |
| 348 | if test "x${FW_VERBOSE}" == "xno";then | 348 | if test "x${FW_VERBOSE}" == "xno";then |
| 349 | unset FW_VERBOSE | 349 | unset FW_VERBOSE |
| 350 | elsif test "x${FW_VERBOSE}" != "xno";then | 350 | elif test "x${FW_VERBOSE}" != "xno";then |
| 351 | echo "${PROGRAM_NAME}: invalid value for verbose 'quiet'" 1>&2 | 351 | echo "${PROGRAM_NAME}: invalid value for verbose 'quiet'" 1>&2 |
| 352 | exit 1 | 352 | exit 1 |
| 353 | else | 353 | else |
