summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-03-27 07:27:05 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-03-27 07:27:05 +0000
commit59ac6f138287cd2b4583c37cf1c9c8d6fc14ac40 (patch)
tree8d4fde3ab41f96d31c09420f7eca38b3bfef62e0
parent767b103365d9c36b67a51338cf84ea4a7fe9c02b (diff)
restore_sum: remove newly created sum file(s).
-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 5107651a023..f27e88fe000 100644
--- a/usr.sbin/sysmerge/sysmerge.sh
+++ b/usr.sbin/sysmerge/sysmerge.sh
@@ -1,6 +1,6 @@
#!/bin/ksh -
#
-# $OpenBSD: sysmerge.sh,v 1.132 2014/03/26 23:03:59 ajacoutot Exp $
+# $OpenBSD: sysmerge.sh,v 1.133 2014/03/27 07:27:04 ajacoutot Exp $
#
# Copyright (c) 2008-2014 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 1998-2003 Douglas Barton <DougB@FreeBSD.org>
@@ -59,6 +59,7 @@ restore_sum() {
rm ${DESTDIR}/${DBDIR}/${_i#.}
fi
done
+ rm -f ${WRKDIR}/*sum
}
usage() {