aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2009-11-08 08:24:50 +0800
committerlinimon <linimon@FreeBSD.org>2009-11-08 08:24:50 +0800
commitf38419eeb566ee0d5d6ff203aef84cbe6f498b07 (patch)
treea8d78e07745eeb6ce76c02a0db0b243678276949 /Tools
parent56619c20127806bdc9fc73aa19a211e5c0c5d0c4 (diff)
downloadfreebsd-ports-gnome-f38419eeb566ee0d5d6ff203aef84cbe6f498b07.tar.gz
freebsd-ports-gnome-f38419eeb566ee0d5d6ff203aef84cbe6f498b07.tar.zst
freebsd-ports-gnome-f38419eeb566ee0d5d6ff203aef84cbe6f498b07.zip
Reflect reality on pointyhat. While here, clean up a bit.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/updatesnap.ports5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/updatesnap.ports b/Tools/portbuild/scripts/updatesnap.ports
index 11558aa58665..c2dd4ae23a74 100755
--- a/Tools/portbuild/scripts/updatesnap.ports
+++ b/Tools/portbuild/scripts/updatesnap.ports
@@ -1,12 +1,11 @@
#!/bin/sh
#
-# Update the master ports and source trees that are used by package builds
+# Update the master ports tree that is used by package builds
# and other consumers
base=/a/snap
zbase=a/snap
-srepo=/r/ncvs
prepo=/r/pcvs
supstamp() {
@@ -44,6 +43,8 @@ cat /root/ports-cvsup-master-supfile | sed "s|%%DATE%%|${supdate}|" > /root/port
cvsup -L 2 /root/ports-cvsup-master-supfile.now > ${base}/ports/cvsup.log
echo ${fulldate} > /a/snap/ports/cvsdone
+# hack for zfs breakiness
+find ${base}/ports -group wheel|xargs chgrp portmgr
snapdate=$(stamp ${fulldate})
zfs snapshot ${zbase}/ports@${snapdate}