diff options
author | Andrew Fresh <afresh1@cvs.openbsd.org> | 2022-01-07 02:25:41 +0000 |
---|---|---|
committer | Andrew Fresh <afresh1@cvs.openbsd.org> | 2022-01-07 02:25:41 +0000 |
commit | 0207c1d2884d427ebf446dafb6efae4d2c38cdf0 (patch) | |
tree | 83946e6ab3315dccf3f1f2643dda0055252d4435 /usr.sbin | |
parent | 2bf055ac94878984f751d6d03bab81544989cff5 (diff) |
whitespace
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/fw_update/fw_update.sh | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/usr.sbin/fw_update/fw_update.sh b/usr.sbin/fw_update/fw_update.sh index 40a10107b30..17e27ea75ef 100644 --- a/usr.sbin/fw_update/fw_update.sh +++ b/usr.sbin/fw_update/fw_update.sh @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: fw_update.sh,v 1.26 2022/01/06 20:15:54 deraadt Exp $ +# $OpenBSD: fw_update.sh,v 1.27 2022/01/07 02:25:40 afresh1 Exp $ # # Copyright (c) 2021 Andrew Hewus Fresh <afresh1@openbsd.org> # @@ -278,22 +278,22 @@ ALL=false OPT_F= while getopts :adFnp:v name do - case "$name" in - a) ALL=true ;; - d) DELETE=true ;; - F) OPT_F=true ;; - n) DRYRUN=true ;; - p) LOCALSRC="$OPTARG" ;; - v) VERBOSE=true ;; - :) - echo "${0##*/}: option requires an argument -- -$OPTARG" >&2 - usage 2 - ;; - ?) - echo "${0##*/}: unknown option -- -$OPTARG" >&2 - usage 2 - ;; - esac + case "$name" in + a) ALL=true ;; + d) DELETE=true ;; + F) OPT_F=true ;; + n) DRYRUN=true ;; + p) LOCALSRC="$OPTARG" ;; + v) VERBOSE=true ;; + :) + echo "${0##*/}: option requires an argument -- -$OPTARG" >&2 + usage 2 + ;; + ?) + echo "${0##*/}: unknown option -- -$OPTARG" >&2 + usage 2 + ;; + esac done shift $((OPTIND - 1)) @@ -369,8 +369,8 @@ if "$DELETE"; then fi if [ ! "$LOCALSRC" ]; then - LOCALSRC="$( tmpdir "${DESTDIR}/tmp/${0##*/}" )" - REMOVE_LOCALSRC=true + LOCALSRC="$( tmpdir "${DESTDIR}/tmp/${0##*/}" )" + REMOVE_LOCALSRC=true fi CFILE="$LOCALSRC/$CFILE" |