summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distrib/sets/makesrctars9
-rw-r--r--distrib/sets/maketars7
-rw-r--r--etc/Makefile4
3 files changed, 16 insertions, 4 deletions
diff --git a/distrib/sets/makesrctars b/distrib/sets/makesrctars
index d6abb9da526..3cd4746601b 100644
--- a/distrib/sets/makesrctars
+++ b/distrib/sets/makesrctars
@@ -1,8 +1,13 @@
#!/bin/sh
-RELEASE=24
+set RELEASE=$1
SPLITSIZE=240640
+if [ "X${RELEASE}" = "X" ]; then
+ echo "Usage: `basename $0` <OSREVISION>"
+ exit 1
+fi
+
GZIP=--best
export GZIP
@@ -58,3 +63,5 @@ find share \
(cd ${RELEASEDIR}/ssrc${RELEASE}; cksum ssrc${RELEASE}.* > CKSUM; \
md5 ssrc${RELEASE}.* > MD5)
chmod 444 ${RELEASEDIR}/ssrc${RELEASE}/*
+
+
diff --git a/distrib/sets/maketars b/distrib/sets/maketars
index 68f2c19e9dd..1e00c4ba560 100644
--- a/distrib/sets/maketars
+++ b/distrib/sets/maketars
@@ -1,6 +1,11 @@
#!/bin/csh -f
-set RELEASE=24
+set RELEASE=$1
+
+if ( "X${RELEASE}" == "X" ) then
+ echo "Usage: `basename $0` <OSREVISION>"
+ exit 1
+endif
if (! $?RELEASEDIR) then
echo RELEASEDIR must be set
diff --git a/etc/Makefile b/etc/Makefile
index d39921364b0..1ae7346f565 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.91 1998/09/15 18:18:14 art Exp $
+# $OpenBSD: Makefile,v 1.92 1998/09/19 00:48:33 todd Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@@ -220,7 +220,7 @@ release:
.else
release: distribution snap_pre snap_md
cd ${.CURDIR}/../distrib/notes; ${MAKE}; ${MAKE} install
- cd ${.CURDIR}/../distrib/sets; csh maketars
+ cd ${.CURDIR}/../distrib/sets; csh maketars ${OSrev}
-cp ${DESTDIR}/snapshot/bsd* ${RELEASEDIR}
-cp ${DESTDIR}/snapshot/*boot* ${RELEASEDIR}
-cp ${DESTDIR}/snapshot/*BOOT* ${RELEASEDIR}