diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2007-02-18 08:59:22 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2007-02-18 08:59:22 +0000 |
commit | b21c917ce86cb554394755e03f5f76c1cd7a2b1f (patch) | |
tree | 692b117c5802cc868b3e3974346e529810a93a4e /Tools | |
parent | bc7eeeee9691858c832b092bb7464f7c6761953b (diff) | |
download | ports-b21c917ce86cb554394755e03f5f76c1cd7a2b1f.tar.gz ports-b21c917ce86cb554394755e03f5f76c1cd7a2b1f.zip |
Don't play silly games trying to guess the arch, we are passed it in on
the command line
Notes
Notes:
svn path=/head/; revision=185421
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/processlogs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/processlogs b/Tools/portbuild/scripts/processlogs index 00e157241c44..e0b86b4b7ee9 100755 --- a/Tools/portbuild/scripts/processlogs +++ b/Tools/portbuild/scripts/processlogs @@ -1,6 +1,8 @@ #!/bin/sh # echo 'processlogs: at '`date`', begin' +arch=$1 + # establish which directory the logfiles live in (leave out for # backwards compatibility) buildlogdir=$(realpath .) @@ -19,9 +21,7 @@ errorscript=$scriptdir/processonelog # Figure out which arch we're building for pb=/var/portbuild -rpb=$(realpath ${pb} | sed -e "s,/$,," ) -arch=$(echo ${buildlogdir} | sed -e "s,${rpb}/,," | cut -f 1 -d /) . ${pb}/${arch}/portbuild.conf # create a name for the tempfile |