aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-02-18 16:58:07 +0800
committerkris <kris@FreeBSD.org>2007-02-18 16:58:07 +0800
commit029d6698e432ddc4e48d6c0510c63ce715ce6676 (patch)
tree19ab22b06e78bc83813c64c73683c94e0e5fac2f /Tools
parentabbf2dfae80e9872893076596aed81a44ea19407 (diff)
downloadfreebsd-ports-gnome-029d6698e432ddc4e48d6c0510c63ce715ce6676.tar.gz
freebsd-ports-gnome-029d6698e432ddc4e48d6c0510c63ce715ce6676.tar.zst
freebsd-ports-gnome-029d6698e432ddc4e48d6c0510c63ce715ce6676.zip
Don't require an /etc/arch file, we can obtain the information from uname
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/flushsquid2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/flushsquid b/Tools/portbuild/scripts/flushsquid
index aad882f0249c..d76b2aaab6c4 100755
--- a/Tools/portbuild/scripts/flushsquid
+++ b/Tools/portbuild/scripts/flushsquid
@@ -1,6 +1,6 @@
#!/bin/sh
-arch=$(cat /etc/arch)
+arch=$(uname -m)
pb=/var/portbuild
. ${pb}/${arch}/portbuild.conf