1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

do not add ./ to the path of the files in the tarball

This commit is contained in:
robert 2017-06-05 09:44:56 +00:00
parent 5c55e62a8f
commit ce65acf50f

View File

@ -1,4 +1,4 @@
# $OpenBSD: bsd.syspatch.mk,v 1.8 2017/04/22 13:39:00 robert Exp $
# $OpenBSD: bsd.syspatch.mk,v 1.9 2017/06/05 09:44:56 robert Exp $
#
# Copyright (c) 2016-2017 Robert Nagy <robert@openbsd.org>
#
@ -190,6 +190,6 @@ ${ERRATA}/.plist: ${_BUILD_COOKIE}
@su ${BUILDUSER} -c 'echo ${SYSPATCH_DIR}/${ERRATA}.patch.sig >> ${.OBJDIR}/${ERRATA}/.plist' || \
{ echo "***> unable to add syspatch to list of files"; \
exit 1; };
@su ${BUILDUSER} -c 'sed -i "s,^${FAKEROOT}/syspatch/${OSrev}-[^/]*/,./,g" ${.TARGET}'
@su ${BUILDUSER} -c 'sed -i "s,^${FAKEROOT}/syspatch/${OSrev}-[^/]*/,,g" ${.TARGET}'
.include <bsd.obj.mk>