aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-02-18 16:59:51 +0800
committerkris <kris@FreeBSD.org>2007-02-18 16:59:51 +0800
commit1dd549515566e8429dd6927b91fa7d9d3fe48676 (patch)
tree2aa905d045adc7aab4c3b94f6d2b164bc3783e85 /Tools
parenta25453e56c1829a05c111ec8c0381a9402f9e79f (diff)
downloadfreebsd-ports-gnome-1dd549515566e8429dd6927b91fa7d9d3fe48676.tar.gz
freebsd-ports-gnome-1dd549515566e8429dd6927b91fa7d9d3fe48676.tar.zst
freebsd-ports-gnome-1dd549515566e8429dd6927b91fa7d9d3fe48676.zip
Don't require arch to be passed in on the command line, query it using
uname
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/reportload2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/reportload b/Tools/portbuild/scripts/reportload
index 42d5e72eaa80..45c006a6e363 100755
--- a/Tools/portbuild/scripts/reportload
+++ b/Tools/portbuild/scripts/reportload
@@ -4,7 +4,7 @@
# configurable variables
pb=/var/portbuild
-arch=$1
+arch=$(uname -m)
. ${pb}/${arch}/portbuild.conf
if [ -f ${pb}/${arch}/portbuild.$(hostname) ]; then