summaryrefslogtreecommitdiff
path: root/usr.sbin/sysmerge/sysmerge.sh
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2008-06-08 21:54:26 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2008-06-08 21:54:26 +0000
commitc2ebe8ef15c6afbeed5b739e94e5e772e54de2d0 (patch)
tree12815c74714d83199888df5a6e7af0f4c7f34417 /usr.sbin/sysmerge/sysmerge.sh
parent288d254aabceabe87a535a160df21e28c44201ae (diff)
- remove sendmail cf files leftover after make in src
issue reported by jmc@ ok pyr@ jdixon@
Diffstat (limited to 'usr.sbin/sysmerge/sysmerge.sh')
-rw-r--r--usr.sbin/sysmerge/sysmerge.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/sysmerge/sysmerge.sh b/usr.sbin/sysmerge/sysmerge.sh
index f55e61711db..0c595c094bb 100644
--- a/usr.sbin/sysmerge/sysmerge.sh
+++ b/usr.sbin/sysmerge/sysmerge.sh
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: sysmerge.sh,v 1.9 2008/06/08 21:51:25 ajacoutot Exp $
+# $OpenBSD: sysmerge.sh,v 1.10 2008/06/08 21:54:25 ajacoutot Exp $
#
# This script is based on the FreeBSD mergemaster script, written by
# Douglas Barton <DougB@FreeBSD.org>
@@ -387,6 +387,11 @@ do_post() {
fi
fi
+ # clean leftovers created by make in src
+ if [ "${SRCDIR}" ]; then
+ cd ${SRCDIR}/gnu/usr.sbin/sendmail/cf/cf && make cleandir 1> /dev/null
+ fi
+
echo "===> Making sure your directory hierarchy has correct perms, running mtree"
mtree -qdef ${DESTDIR}/etc/mtree/4.4BSD.dist -p ${DESTDIR:=/} -U 1> /dev/null