aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-02-18 16:59:22 +0800
committerkris <kris@FreeBSD.org>2007-02-18 16:59:22 +0800
commita25453e56c1829a05c111ec8c0381a9402f9e79f (patch)
treeefb5297d8d73fbb7c8cbfec0e8844eb4f87b47a0 /Tools
parent88afd36ca881e727d8a106f5ca92bd23762f55fd (diff)
downloadfreebsd-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-xTools/portbuild/scripts/processlogs4
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