summaryrefslogtreecommitdiff
path: root/distrib/mvme68k/ramdisk
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2001-08-29 15:01:18 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2001-08-29 15:01:18 +0000
commit11e92875ae7dd291e36dc09dd19d824930cae2fc (patch)
treeceb9a3efee186fb0c694434b112c80ea20f8147e /distrib/mvme68k/ramdisk
parent6f3175afa858bcf9a71aab3d93a369ea346e4bba (diff)
Apply recent changes in the i386 comment eradication code to all
architectures using a list2sh.awk and related 'list' files (alpha, hp300, mac68k, mvme68k, mvme88k, mvmeppc, powerpc and vax). list2sh.awk is modified so that in handling SPECIAL lines the tabs in regular expressions are not lost to awk field parsing. Any 'list' file trying to eliminate comments, using SPECIAL lines and sed, now eliminates lines that a) have '#' as the first non-blank, non-tab character, with at least one blank or tab following the '#'. b) have '#' as the first non-blank, non-tab character, with a newline immediately following the '#'. Previous b) was not being done, and only leading/following blanks were being looked for due to the loss of tab characters in list2sh.awk.
Diffstat (limited to 'distrib/mvme68k/ramdisk')
-rw-r--r--distrib/mvme68k/ramdisk/list16
1 files changed, 8 insertions, 8 deletions
diff --git a/distrib/mvme68k/ramdisk/list b/distrib/mvme68k/ramdisk/list
index 2728162d367..94f9c299d24 100644
--- a/distrib/mvme68k/ramdisk/list
+++ b/distrib/mvme68k/ramdisk/list
@@ -1,4 +1,4 @@
-# $OpenBSD: list,v 1.9 2001/07/26 20:21:17 deraadt Exp $
+# $OpenBSD: list,v 1.10 2001/08/29 15:01:17 krw Exp $
SRCDIRS distrib/special
SRCDIRS usr.bin bin sbin usr.sbin gnu/usr.bin
SRCDIRS usr.sbin/pppd
@@ -93,12 +93,12 @@ SPECIAL sed -e '/^#[ ].*$/d' < ${TOPDIR}/common/dot.commonutils > .commonutils
SPECIAL sed -e '/^#[ ].*$/d' < ${TOPDIR}/common/termcap.vt > usr/share/misc/termcap
# and the installation tools
-SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/dot.profile > .profile
-SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/dot.instutils > .instutils
-SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -s`/" < ${CURDIR}/install.md > install.md
-SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/../../miniroot/install.sh > install
-SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade
-SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/install.sub > install.sub
-#SPECIAL sed -e "/^VERSION=/s/=.*/=${REV}/" -e '/^#[ ].*$/d' < ${CURDIR}/../../miniroot/install.sub > install.sub
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/dot.profile > .profile
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/dot.instutils > .instutils
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -s`/" < ${CURDIR}/install.md > install.md
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/install.sub > install.sub
+#SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub
SPECIAL chmod 755 install upgrade