From ca4f429d6fbed3c711630439669e401fbb0feb80 Mon Sep 17 00:00:00 2001 From: rh Date: Mon, 27 Sep 2004 00:31:30 +0000 Subject: Update createbuildlink to 3.7. Properly escape '@exec ${MKDIR}' patterns now that 'make print-PLIST' handles this. --- pkgtools/createbuildlink/Makefile | 4 ++-- pkgtools/createbuildlink/files/substplistbasedirs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'pkgtools/createbuildlink') diff --git a/pkgtools/createbuildlink/Makefile b/pkgtools/createbuildlink/Makefile index d0ed1ec6ba3..a1e1b0e1107 100644 --- a/pkgtools/createbuildlink/Makefile +++ b/pkgtools/createbuildlink/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.31 2004/09/26 23:48:09 rh Exp $ +# $NetBSD: Makefile,v 1.32 2004/09/27 00:31:30 rh Exp $ -DISTNAME= createbuildlink-3.6 +DISTNAME= createbuildlink-3.7 CATEGORIES= pkgtools sysutils MASTER_SITES= # Nothing DISTFILES= # Nothing diff --git a/pkgtools/createbuildlink/files/substplistbasedirs b/pkgtools/createbuildlink/files/substplistbasedirs index a3478eb7c7f..2266bb01785 100755 --- a/pkgtools/createbuildlink/files/substplistbasedirs +++ b/pkgtools/createbuildlink/files/substplistbasedirs @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: substplistbasedirs,v 1.1 2004/09/26 23:48:09 rh Exp $ +# $NetBSD: substplistbasedirs,v 1.2 2004/09/27 00:31:30 rh Exp $ # # Copyright (c) 2002 The NetBSD Foundation, Inc. # All rights reserved. @@ -40,7 +40,7 @@ # in a base package # -REV=`echo '$Revision: 1.1 $' | sed 's/\\$//g'` +REV=`echo '$Revision: 1.2 $' | sed 's/\\$//g'` CURDIR=`pwd | sed 's|^.*/\([^/]*/[^/]*\)$|\1|'` PLIST=PLIST MDFLAG=true @@ -86,5 +86,5 @@ grep '^@dirrm' $PLIST | sort | sed \ [ "$MDFLAG" != "true" ] || grep '^@dirrm' $PLIST | sort | sed \ -e 's|/|\\/|g' \ -e 's|^|PRINT_PLIST_AWK+= /\^|' \ - -e 's|@dirrm |@exec $${MKDIR} %D\\/|' \ + -e 's|@dirrm |@exec \\$${MKDIR} %D\\/|' \ -e "s|$|\$\$/ { next; }|" -- cgit v1.2.3