summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syspatch/syspatch.sh
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2017-02-13 14:59:09 +0000
committerajacoutot <ajacoutot@openbsd.org>2017-02-13 14:59:09 +0000
commit17f59a30c016afe392cf3142b3189cc4623ab5d4 (patch)
tree0ec3374dc169ec7384bf17d38e8c9a70b140902a /usr.sbin/syspatch/syspatch.sh
parentdraft-ietf-idr-shutdown extends to support a message on either of (diff)
downloadwireguard-openbsd-17f59a30c016afe392cf3142b3189cc4623ab5d4.tar.xz
wireguard-openbsd-17f59a30c016afe392cf3142b3189cc4623ab5d4.zip
Reverse output when installing a patch; it's more logical (first get, then
install). While here, match the installer output a bit more: Get/Verify ... Installing ... prodded by a mail exchange with "bytevolcano" discussed with robert@ sthen@ ok robert@
Diffstat (limited to 'usr.sbin/syspatch/syspatch.sh')
-rw-r--r--usr.sbin/syspatch/syspatch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syspatch/syspatch.sh b/usr.sbin/syspatch/syspatch.sh
index 3bf154ba72e..e04c0f33fc0 100644
--- a/usr.sbin/syspatch/syspatch.sh
+++ b/usr.sbin/syspatch/syspatch.sh
@@ -1,6 +1,6 @@
#!/bin/ksh
#
-# $OpenBSD: syspatch.sh,v 1.91 2017/01/30 15:36:20 ajacoutot Exp $
+# $OpenBSD: syspatch.sh,v 1.92 2017/02/13 14:59:09 ajacoutot Exp $
#
# Copyright (c) 2016 Antoine Jacoutot <ajacoutot@openbsd.org>
#
@@ -36,10 +36,10 @@ apply_patch()
_explodir=${_TMP}/${_patch}
- echo "Applying patch ${_patch##${_OSrev}-}"
fetch_and_verify "syspatch${_patch}.tgz"
trap '' INT
+ echo "Installing patch ${_patch##${_OSrev}-}"
install -d ${_explodir} ${_PDIR}/${_patch}
_files="$(tar xvzphf ${_TMP}/syspatch${_patch}.tgz -C ${_explodir})"