aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-02-18 08:59:22 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-02-18 08:59:22 +0000
commitb21c917ce86cb554394755e03f5f76c1cd7a2b1f (patch)
tree692b117c5802cc868b3e3974346e529810a93a4e /Tools
parentbc7eeeee9691858c832b092bb7464f7c6761953b (diff)
downloadports-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-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