summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-21 07:05:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-21 07:05:31 +0000
commit27de11b8cb2322fe16c3ea0066244001483b30f3 (patch)
tree2380bd717f60c84285907afe47facc3be775632d /distrib
parent33a38a113b09ace112c9fe4ee0f596285566ee67 (diff)
strip scripts when putting them on the media
Diffstat (limited to 'distrib')
-rw-r--r--distrib/macppc/ramdisk/list13
1 files changed, 6 insertions, 7 deletions
diff --git a/distrib/macppc/ramdisk/list b/distrib/macppc/ramdisk/list
index caf49897dbf..ba2dd7d8500 100644
--- a/distrib/macppc/ramdisk/list
+++ b/distrib/macppc/ramdisk/list
@@ -1,4 +1,4 @@
-# $OpenBSD: list,v 1.9 2002/04/19 23:23:56 deraadt Exp $
+# $OpenBSD: list,v 1.10 2002/04/21 07:05:30 deraadt Exp $
SRCDIRS distrib/special
SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin
@@ -81,12 +81,11 @@ COPY ${DESTDIR}/sbin/dhclient-script sbin/dhclient-script
# and the common installation tools
COPY ${TOPDIR}/common/termcap.vt usr/share/misc/termcap
-#COPY ${DESTDIR}/usr/share/misc/scsi_modes usr/share/misc/scsi_modes
# and the installation tools
-COPY dot.profile .profile
-SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/install.md > install.md
-COPY ${CURDIR}/../../miniroot/install.sh install
-COPY ${CURDIR}/../../miniroot/upgrade.sh upgrade
-SPECIAL sed "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/dot.profile > .profile
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/install.md > install.md
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install
+SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub
SPECIAL chmod 755 install upgrade