From f06078517f8926c7a5075c6ee26f7358673e2698 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Fri, 25 Jun 2010 23:08:14 +0000 Subject: 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 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 --- Tools/portbuild/scripts/dologs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Tools') 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 -- cgit v1.2.3