diff options
author | kris <kris@FreeBSD.org> | 2007-02-18 16:59:22 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2007-02-18 16:59:22 +0800 |
commit | a25453e56c1829a05c111ec8c0381a9402f9e79f (patch) | |
tree | efb5297d8d73fbb7c8cbfec0e8844eb4f87b47a0 /Tools | |
parent | 88afd36ca881e727d8a106f5ca92bd23762f55fd (diff) | |
download | freebsd-ports-gnome-a25453e56c1829a05c111ec8c0381a9402f9e79f.tar.gz freebsd-ports-gnome-a25453e56c1829a05c111ec8c0381a9402f9e79f.tar.zst freebsd-ports-gnome-a25453e56c1829a05c111ec8c0381a9402f9e79f.zip |
Don't play silly games trying to guess the arch, we are passed it in on
the command line
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 |