From 05388c333a6143e5da4ca6a8c29d8ba02d93ff98 Mon Sep 17 00:00:00 2001 From: afresh1 Date: Fri, 7 Jan 2022 02:25:40 +0000 Subject: [PATCH] whitespace --- usr.sbin/fw_update/fw_update.sh | 38 ++++++++++++++++----------------- 1 file 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 # @@ -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" -- 2.20.1