summaryrefslogtreecommitdiff
path: root/usr.sbin/sysmerge/sysmerge.sh
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-07-15 15:30:57 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-07-15 15:30:57 +0000
commitf505857c0030e53a59bf8cd451a9c89a8abdb027 (patch)
tree9a4dd6a027bab74f2fbaf83ca63ed985db9cdd75 /usr.sbin/sysmerge/sysmerge.sh
parentb8ee954c2109bc9213a3be29f948d6c4381d1507 (diff)
typo
Diffstat (limited to 'usr.sbin/sysmerge/sysmerge.sh')
-rw-r--r--usr.sbin/sysmerge/sysmerge.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysmerge/sysmerge.sh b/usr.sbin/sysmerge/sysmerge.sh
index 83c99ddfdaf..cd90345f166 100644
--- a/usr.sbin/sysmerge/sysmerge.sh
+++ b/usr.sbin/sysmerge/sysmerge.sh
@@ -1,6 +1,6 @@
#!/bin/ksh -
#
-# $OpenBSD: sysmerge.sh,v 1.140 2014/07/15 09:27:04 ajacoutot Exp $
+# $OpenBSD: sysmerge.sh,v 1.141 2014/07/15 15:30:56 ajacoutot Exp $
#
# Copyright (c) 2008-2014 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 1998-2003 Douglas Barton <DougB@FreeBSD.org>
@@ -110,8 +110,8 @@ extract_sets() {
[[ ${_set} == etc ]] && _tgz=${WRKDIR}/${TGZ##*/}
[[ ${_set} == xetc ]] && _tgz=${WRKDIR}/${XTGZ##*/}
- tar -tzf "${_tgz}" .${DBDIR}/sysmerge/${_set}sum >/dev/null ||
- error_rm_wrkdir "${_tgz##*/}: badly formed \"${_set}\" set, lacks .${DBDIR}/sysmerge/${_set}sum"
+ tar -tzf "${_tgz}" .${DBDIR}/${_set}sum >/dev/null ||
+ error_rm_wrkdir "${_tgz##*/}: badly formed \"${_set}\" set, lacks .${DBDIR}/${_set}sum"
(cd ${TEMPROOT} && tar -xzphf "${_tgz}" && \
find . -type f -and ! -type l | xargs sha256 -h ${WRKDIR}/${_set}sum) || \