diff options
Diffstat (limited to 'distrib/mvme88k')
-rw-r--r-- | distrib/mvme88k/list2sh.awk | 8 | ||||
-rw-r--r-- | distrib/mvme88k/miniroot/list | 4 | ||||
-rw-r--r-- | distrib/mvme88k/ramdisk/list | 4 |
3 files changed, 7 insertions, 9 deletions
diff --git a/distrib/mvme88k/list2sh.awk b/distrib/mvme88k/list2sh.awk index 749c0c98c7d..55dcac08756 100644 --- a/distrib/mvme88k/list2sh.awk +++ b/distrib/mvme88k/list2sh.awk @@ -1,4 +1,4 @@ -# $OpenBSD: list2sh.awk,v 1.1 1998/12/17 02:16:30 smurph Exp $ +# $OpenBSD: list2sh.awk,v 1.2 2001/08/29 15:01:17 krw Exp $ BEGIN { printf("cd ${CURDIR}\n"); @@ -20,10 +20,8 @@ $1 == "LINK" { } $1 == "SPECIAL" { printf("echo '%s'\n", $0); - printf("(cd ${TARGDIR};"); - for (i = 2; i <= NF; i++) - printf(" %s", $i); - printf(")\n"); + sub(/^[ \t]*SPECIAL[ \t]*/, ""); + printf("(cd ${TARGDIR}; %s)\n", $0); next; } { diff --git a/distrib/mvme88k/miniroot/list b/distrib/mvme88k/miniroot/list index 1d41f3dd1a5..72d5da6deef 100644 --- a/distrib/mvme88k/miniroot/list +++ b/distrib/mvme88k/miniroot/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.3 2001/06/23 19:44:48 deraadt Exp $ +# $OpenBSD: list,v 1.4 2001/08/29 15:01:17 krw Exp $ # $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $ # Amiga extra's @@ -39,4 +39,4 @@ SYMLINK /tmp/hosts etc/hosts # and the installation tools COPY ${ARCHDIR}/dot.profile .profile -SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch`" < ${ARCHDIR}/../install.md > install.md +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch`" < ${ARCHDIR}/../install.md > install.md diff --git a/distrib/mvme88k/ramdisk/list b/distrib/mvme88k/ramdisk/list index 292c5cf7dc8..3c17fdba39d 100644 --- a/distrib/mvme88k/ramdisk/list +++ b/distrib/mvme88k/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.5 2001/06/23 19:44:50 deraadt Exp $ +# $OpenBSD: list,v 1.6 2001/08/29 15:01:17 krw Exp $ COPY ${OBJDIR}/raminst raminst LINK raminst bin/cat @@ -86,7 +86,7 @@ LINK sbin/init usr/bin/vi COPY dot.profile .profile COPY dot.instutils .instutils COPY install.sh install -SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -s`/" < ${CURDIR}/install.md > install.md +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -s`/" < ${CURDIR}/install.md > install.md COPY install.sub install.sub COPY disktab.shadow etc/disktab.shadow COPY ${DESTDIR}/usr/mdec/installboot usr/mdec |