Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/sets use ${CKSUM} instead of cksum/md5
details: https://anonhg.NetBSD.org/src/rev/0c22e9f3eca3
branches: trunk
changeset: 525418:0c22e9f3eca3
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Apr 11 06:04:42 2002 +0000
description:
use ${CKSUM} instead of cksum/md5
diffstat:
distrib/sets/makesrctars | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r 4069c50c346c -r 0c22e9f3eca3 distrib/sets/makesrctars
--- a/distrib/sets/makesrctars Thu Apr 11 05:59:39 2002 +0000
+++ b/distrib/sets/makesrctars Thu Apr 11 06:04:42 2002 +0000
@@ -1,9 +1,11 @@
#! /bin/sh
#
-# $NetBSD: makesrctars,v 1.12 2001/12/18 10:19:14 wiz Exp $
+# $NetBSD: makesrctars,v 1.13 2002/04/11 06:04:42 lukem Exp $
#
# Make source code tarballs.
+: ${CKSUM=cksum}
+
GZIP=--best
export GZIP
@@ -61,8 +63,9 @@
> ${DESTDIR}/sets/sharesrc.tgz
(cd ${DESTDIR}/sets
- cksum -o1 *.tgz > BSDSUM
- cksum *.tgz > CKSUM
- cksum -o2 *.tgz > SYSVSUM
- md5 *.tgz > MD5)
+ ${CKSUM} -o1 *.tgz > BSDSUM
+ ${CKSUM} *.tgz > CKSUM
+ ${CKSUM} -m *.tgz > MD5
+ ${CKSUM} -o2 *.tgz > SYSVSUM
+)
chmod 444 ${DESTDIR}/sets/*
Home |
Main Index |
Thread Index |
Old Index