aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2010-06-26 07:08:14 +0800
committerlinimon <linimon@FreeBSD.org>2010-06-26 07:08:14 +0800
commitc8c43055ac5a0f56637811e8f50947f35e9e7c59 (patch)
tree6b8a85622fd3f034a61534f424bcd334d170c71c /Tools
parentf51fec33074c7a34bd1742e705f2ec3c02435fe3 (diff)
downloadfreebsd-ports-gnome-c8c43055ac5a0f56637811e8f50947f35e9e7c59.tar.gz
freebsd-ports-gnome-c8c43055ac5a0f56637811e8f50947f35e9e7c59.tar.zst
freebsd-ports-gnome-c8c43055ac5a0f56637811e8f50947f35e9e7c59.zip
Generalize the packge building scripts to be able to be run on more than
one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. Note that this script will now figure out 'branches' by itself, thus removing the special-casing for '-exp'. Feature safe: yes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/dologs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/dologs b/Tools/portbuild/scripts/dologs
index 54f1b773c88b..02de75cd2aba 100755
--- a/Tools/portbuild/scripts/dologs
+++ b/Tools/portbuild/scripts/dologs
@@ -6,11 +6,14 @@ versions="latest full"
pb=/var/portbuild
+. ${pb}/conf/server.conf
. ${pb}/${arch}/portbuild.conf
home=${pb}/errorlogs
scripts=${pb}/scripts
+branches=`cd ${pb}/${arch} && ls -d [1-9]* 2> /dev/null`
+
for version in ${versions}; do
for branch in ${branches}; do
dir=$home/$arch-$branch-$version