do not add ./ to the path of the files in the tarball
authorrobert <robert@openbsd.org>
Mon, 5 Jun 2017 09:44:56 +0000 (09:44 +0000)
committerrobert <robert@openbsd.org>
Mon, 5 Jun 2017 09:44:56 +0000 (09:44 +0000)
distrib/syspatch/bsd.syspatch.mk

index 9b2dbe9..3f26594 100644 (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>