summaryrefslogtreecommitdiff
path: root/distrib/sets/makesrctars
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/sets/makesrctars
parent4a9775defd979cb0f464bbb007a1b477b21bd53c (diff)
use OSrev
Diffstat (limited to 'distrib/sets/makesrctars')
-rw-r--r--distrib/sets/makesrctars9
1 files changed, 8 insertions, 1 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}/*
+
+