aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2007-06-12 15:14:29 +0000
committerErwin Lansing <erwin@FreeBSD.org>2007-06-12 15:14:29 +0000
commitafade85a8a5f32982e2964af79fce37205a7c2c4 (patch)
tree0f65f1653664ee85ddb3714082b3bb66ccc22ebe /Tools
parent199d09adcc2ab7c8a069b744eb1c745ad70aedb8 (diff)
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/tindex6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex
index ffb02ab56ed6..c55bad1d8d0f 100755
--- a/Tools/scripts/tindex
+++ b/Tools/scripts/tindex
@@ -33,8 +33,10 @@ export SRCDIR5=${BASEDIR}/src.5
export SRCDIR6=${BASEDIR}/src.6
export SRCDIR7=${BASEDIR}/src.7
-# Target architecture
-export ARCH=i386
+# Target architecture if not set in the environment
+if [ "${ARCH}" = "" ]; then
+ export ARCH=i386
+fi
# SSH key to use for copying INDEXes to www host (if non-default)
export SSHKEY="-i /home/kris/.ssh/id_dsa-index"