diff options
author | kris <kris@FreeBSD.org> | 2007-02-18 16:59:51 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2007-02-18 16:59:51 +0800 |
commit | 1dd549515566e8429dd6927b91fa7d9d3fe48676 (patch) | |
tree | 2aa905d045adc7aab4c3b94f6d2b164bc3783e85 /Tools/portbuild | |
parent | a25453e56c1829a05c111ec8c0381a9402f9e79f (diff) | |
download | freebsd-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/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/reportload | 2 |
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 |