summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>1998-09-19 00:48:34 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>1998-09-19 00:48:34 +0000
commit738091d6f55beccca1a22d90a08fd2330d25c920 (patch)
tree2cdbe3e05cc709e7e37f429f236db2ac2edee8fb /distrib
parent4a9775defd979cb0f464bbb007a1b477b21bd53c (diff)
use OSrev
Diffstat (limited to 'distrib')
-rw-r--r--distrib/sets/makesrctars9
-rw-r--r--distrib/sets/maketars7
2 files changed, 14 insertions, 2 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