summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2016-10-16 17:31:36 +0000
committertb <tb@openbsd.org>2016-10-16 17:31:36 +0000
commit47104c1d11736fc10c3e30eefe7b2498b626bd3c (patch)
tree118f87092bd1447410071a02523a773c4705347c
parentRemove the "phase" state variable from the smtp session. Simply check (diff)
downloadwireguard-openbsd-47104c1d11736fc10c3e30eefe7b2498b626bd3c.tar.xz
wireguard-openbsd-47104c1d11736fc10c3e30eefe7b2498b626bd3c.zip
Strip trailing obj/ from kernel build directories, so kernels
are again marked with GENERIC{,.MP} RAMDISK, etc. Problem noticed by several (jsg, semarie, ...) ok many (sthen, natano, millert, deraadt, ...) Explanations why quotes aren't necessary by even more. Thanks!
-rw-r--r--sys/conf/newvers.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index cc611827c68..86881a66778 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: newvers.sh,v 1.148 2016/09/01 14:12:07 tedu Exp $
+# $OpenBSD: newvers.sh,v 1.149 2016/10/16 17:31:36 tb Exp $
# $NetBSD: newvers.sh,v 1.17.2.1 1995/10/12 05:17:11 jtc Exp $
#
# Copyright (c) 1984, 1986, 1990, 1993
@@ -38,7 +38,7 @@ then
fi
touch version
-v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date`
+v=`cat version` u=${USER-root} d=${PWD%/obj} h=`hostname` t=`date`
id=`basename "${d}"`
# additional things which need version number upgrades: