summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-08-10 12:03:40 (GMT)
committerColin Watson <cjwatson@debian.org>2011-08-10 12:03:40 (GMT)
commitf42d81fae004c3d4a5e51485f893dd7b030e38cc (patch)
treeff6dcd27343bfbf150f6f41b3fc19a4c01259d01 /functions
parentd7cccc36a992184ea59690342b767d4633d04d52 (diff)
downloaddebootstrap-f42d81fae004c3d4a5e51485f893dd7b030e38cc.zip
debootstrap-f42d81fae004c3d4a5e51485f893dd7b030e38cc.tar.gz
debootstrap-f42d81fae004c3d4a5e51485f893dd7b030e38cc.tar.bz2
Don't use --arch when we specifically care about the host architecture (closes: #637298).
Diffstat (limited to 'functions')
-rw-r--r--functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions b/functions
index fd94a59..98c7652 100644
--- a/functions
+++ b/functions
@@ -938,7 +938,7 @@ clear_mtab () {
}
setup_proc () {
- case "$ARCH" in
+ case "$HOST_ARCH" in
kfreebsd-*)
umount_on_exit /dev
umount_on_exit /proc
@@ -977,7 +977,7 @@ setup_devices () {
return 0
fi
- case "$ARCH" in
+ case "$HOST_ARCH" in
kfreebsd-*)
in_target mount -t devfs devfs /dev ;;
hurd-*)
@@ -1198,7 +1198,7 @@ get_next_predep () {
check_sane_mount () {
mkdir -p "$1"
- case "$ARCH" in
+ case "$HOST_ARCH" in
kfreebsd-*|hurd-*)
;;
*)