summaryrefslogtreecommitdiff
path: root/usr.sbin/sysmerge
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2019-09-28 17:30:08 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2019-09-28 17:30:08 +0000
commitc0c48cfcd9e6a3dc98e6322a0bcc0f2bdc615200 (patch)
treea17c2532b17e44810d72887b795bd6474015984a /usr.sbin/sysmerge
parent7f85e105d9107f225988da3c1f31c59f619befac (diff)
Add where missing and harmonize PATH to be _PATH_DEFPATH (without local nor
X11R6). Suggested by tb@ ok deraadt@ tb@ millert@
Diffstat (limited to 'usr.sbin/sysmerge')
-rw-r--r--usr.sbin/sysmerge/sysmerge.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sysmerge/sysmerge.sh b/usr.sbin/sysmerge/sysmerge.sh
index d4e9934e8dc..79286eb9c5f 100644
--- a/usr.sbin/sysmerge/sysmerge.sh
+++ b/usr.sbin/sysmerge/sysmerge.sh
@@ -1,6 +1,6 @@
#!/bin/ksh -
#
-# $OpenBSD: sysmerge.sh,v 1.234 2019/09/08 13:30:46 ajacoutot Exp $
+# $OpenBSD: sysmerge.sh,v 1.235 2019/09/28 17:30:07 ajacoutot Exp $
#
# Copyright (c) 2008-2014 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 1998-2003 Douglas Barton <DougB@FreeBSD.org>
@@ -19,6 +19,7 @@
#
umask 0022
+export PATH=/usr/bin:/bin:/usr/sbin:/sbin
usage() {
echo "usage: ${0##*/} [-bdp]" >&2 && exit 1