aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2009-11-08 00:24:50 +0000
committerMark Linimon <linimon@FreeBSD.org>2009-11-08 00:24:50 +0000
commit50b2db34705793d93aad8ef939730588c2364a86 (patch)
tree5db9140b69b49a9dea08041819ac2ec9aa37a132 /Tools
parentf885d49e7e87c60a4f9865e3564e20a45127d56c (diff)
downloadports-50b2db34705793d93aad8ef939730588c2364a86.tar.gz
ports-50b2db34705793d93aad8ef939730588c2364a86.zip
Reflect reality on pointyhat. While here, clean up a bit.
Notes
Notes: svn path=/head/; revision=243950
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}