From: ajacoutot Date: Tue, 15 Jul 2014 15:30:56 +0000 (+0000) Subject: typo X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b1deb70907f9b66641bc66190ac18969c0bc820b;p=openbsd typo --- 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 # Copyright (c) 1998-2003 Douglas Barton @@ -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) || \