summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-02-18 08:58:07 +0000
committerkris <kris@FreeBSD.org>2007-02-18 08:58:07 +0000
commit029d6698e432ddc4e48d6c0510c63ce715ce6676 (patch)
tree19ab22b06e78bc83813c64c73683c94e0e5fac2f /Tools
parentabbf2dfae80e9872893076596aed81a44ea19407 (diff)
downloadFreeBSD-ports-029d6698e432ddc4e48d6c0510c63ce715ce6676.zip
FreeBSD-ports-029d6698e432ddc4e48d6c0510c63ce715ce6676.tar.gz
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 aad882f..d76b2aa 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
OpenPOWER on IntegriCloud