summaryrefslogtreecommitdiffstats
path: root/net/cvsup-mirror
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>2000-01-12 05:26:45 +0000
committerjdp <jdp@FreeBSD.org>2000-01-12 05:26:45 +0000
commit93af5a607c1894a4df12fefe46ca3f3ea5ca31dc (patch)
tree38782f6caa08f6f90f4ec7282bb26460a061cdb6 /net/cvsup-mirror
parent7c1d746799fe428efe96a84f61b14db6c1ec08a8 (diff)
downloadFreeBSD-ports-93af5a607c1894a4df12fefe46ca3f3ea5ca31dc.zip
FreeBSD-ports-93af5a607c1894a4df12fefe46ca3f3ea5ca31dc.tar.gz
Pass the "-b base" option when running cvsup, so it will work even
if installed somewhere other than /usr/local. Submitted by: Dag-Erling Smorgrav <des@yes.no>
Diffstat (limited to 'net/cvsup-mirror')
-rw-r--r--net/cvsup-mirror/files/update.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/cvsup-mirror/files/update.sh b/net/cvsup-mirror/files/update.sh
index 76cd3db..9a51805 100644
--- a/net/cvsup-mirror/files/update.sh
+++ b/net/cvsup-mirror/files/update.sh
@@ -44,14 +44,14 @@ umask 2
if [ ${host_crypto} = ${host} ]; then
echo "Updating from ${host}"
- cvsup -1gL 1 -c ${colldir} -h ${host} supfile
+ cvsup -1gL 1 -b ${base} -c ${colldir} -h ${host} supfile
else
if [ -d prefixes/FreeBSD-crypto.cvs ]; then
echo "Updating from ${host_crypto}"
- cvsup -1gL 1 -c ${colldir} -h ${host_crypto} supfile.crypto
+ cvsup -1gL 1 -b ${base} -c ${colldir} -h ${host_crypto} supfile.crypto
fi
echo "Updating from ${host}"
- cvsup -1gL 1 -c ${colldir} -h ${host} supfile.non-crypto
+ cvsup -1gL 1 -b ${base} -c ${colldir} -h ${host} supfile.non-crypto
fi
if [ -f .start_server ]; then
OpenPOWER on IntegriCloud