Module Name:    src
Committed By:   lukem
Date:           Sun Jan  9 03:25:38 UTC 2022

Modified Files:
        src/usr.sbin/etcupdate: etcupdate

Log Message:
etcupdate: style change: function { on new line


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/usr.sbin/etcupdate/etcupdate

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/etcupdate/etcupdate
diff -u src/usr.sbin/etcupdate/etcupdate:1.61 src/usr.sbin/etcupdate/etcupdate:1.62
--- src/usr.sbin/etcupdate/etcupdate:1.61	Wed Dec  2 14:20:20 2020
+++ src/usr.sbin/etcupdate/etcupdate	Sun Jan  9 03:25:38 2022
@@ -1,8 +1,8 @@
 #!/bin/sh
 #
-# $NetBSD: etcupdate,v 1.61 2020/12/02 14:20:20 wiz Exp $
+# $NetBSD: etcupdate,v 1.62 2022/01/09 03:25:38 lukem Exp $
 #
-# Copyright (c) 2001-2008 The NetBSD Foundation, Inc.
+# Copyright (c) 2001-2022 The NetBSD Foundation, Inc.
 # All rights reserved.
 #
 # This code is derived from software contributed to The NetBSD Foundation
@@ -80,7 +80,8 @@ NEED_PWD_MKDB=false
 NEED_SERVICES_MKDB=false
 
 
-usage() {
+usage()
+{
 	cat << EOF >&2
 
 Usage: ${PROG} [options]
@@ -110,13 +111,15 @@ EOF
 	exit 1
 }
 
-verbose() {
+verbose()
+{
 	# $* = message to display if in verbose mode
 
 	${VERBOSE} && echo "${@}"
 }
 
-yesno() {
+yesno()
+{
 	# $* = message to display
 
 	echo -n "${@}? (y/[n]) "
@@ -191,7 +194,8 @@ bre_quote()
 	printf "%s\n" "${arg}" | sed -e 's/[][^$.*\\'"${extra}"']/\\&/g'
 }
 
-install_dir() {
+install_dir()
+{
 	# $1 = target directory (relative to ${DESTDIR})
 
 	NEED_ANYTHING=true
@@ -202,7 +206,8 @@ install_dir() {
 	fi
 }
 
-install_file() {
+install_file()
+{
 	# $1 = target file (relative to ${DESTDIR})
 
 	NEED_ANYTHING=true
@@ -230,7 +235,8 @@ install_file() {
 	esac
 }
 
-install_checksum() {
+install_checksum()
+{
 	# $1 = target file (relative to ${DESTDIR})
 
 	${AUTOMATIC} || return
@@ -248,7 +254,8 @@ install_checksum() {
 }
 
 # Initialise the DIFF_EXTRA_OPTIONS variable.
-init_diff_extra_options() {
+init_diff_extra_options()
+{
 	#
 	# Start with a few options that are always available.
 	#
@@ -274,7 +281,8 @@ init_diff_extra_options() {
   scommand Show differences using the specified diff-like command"
 }
 
-diff_and_merge_file() {
+diff_and_merge_file()
+{
 	# $1 = target file (relative to ${DESTDIR})
 
 	if cmp -s "${TEMPROOT}${1}" "${DESTDIR}${1}"; then
@@ -432,7 +440,8 @@ EOF
 }
 
 # Set the environment for make.
-set_makeenv() {
+set_makeenv()
+{
 	#
 	# INSTALL_DONE=1 prevents installation of unwanted
 	# files (things that are not part of the etc set).

Reply via email to