summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-06 23:25:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-06 23:25:32 +0000
commitcb486f10ba5d2739f11d8014f42b3e6571c0f6c3 (patch)
tree87c71026bc79afd86024dbca338cbb828a46c743 /distrib
parenta5ed5609cab01f892f30ebde7ad4696ed8bf5407 (diff)
name tar files nicely
Diffstat (limited to 'distrib')
-rw-r--r--distrib/sets/maketars8
1 files changed, 5 insertions, 3 deletions
diff --git a/distrib/sets/maketars b/distrib/sets/maketars
index 3107e5d146f..5ee14df78d4 100644
--- a/distrib/sets/maketars
+++ b/distrib/sets/maketars
@@ -1,5 +1,7 @@
#!/bin/csh -f
+set RELEASE=20
+
if (! $?RELEASEDIR) then
echo RELEASEDIR must be set
exit 1
@@ -24,7 +26,7 @@ set lists=(base comp etc games text)
foreach setname ($lists)
echo -n "${setname}: "
cat $listsdir/$setname/mi $listsdir/$setname/md.${arch} | sort | \
- pax -w -d | gzip -9 > ${tardir}/$setname.tar.gz
+ pax -w -d | gzip -9 > ${tardir}/${setname}${RELEASE}.tar.gz
echo "done."
end
@@ -32,12 +34,12 @@ set setname=man
echo -n "${setname}: "
grep ${arch} $listsdir/man/md_share | \
cat $listsdir/$setname/mi $listsdir/$setname/md.${arch} - | sort | \
- pax -w -d | gzip -9 > ${tardir}/$setname.tar.gz
+ pax -w -d | gzip -9 > ${tardir}/${setname}${RELEASE}.tar.gz
echo "done."
set setname=misc
echo -n "${setname}: "
grep -v ${arch} $listsdir/man/md_share | \
cat $listsdir/$setname/mi $listsdir/$setname/md.${arch} - | sort | \
- pax -w -d | gzip -9 > ${tardir}/$setname.tar.gz
+ pax -w -d | gzip -9 > ${tardir}/${setname}${RELEASE}.tar.gz
echo "done."