summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-08-10 13:04:16 +0100
committerColin Watson <cjwatson@debian.org>2011-08-10 13:04:16 +0100
commit7fdd7111b1b8b7c177531dd32172d4345332fa05 (patch)
tree0378a3ad1d000359ebdadd3c5223d87633e25121
parentf42d81fae004c3d4a5e51485f893dd7b030e38cc (diff)
downloaddebootstrap-7fdd7111b1b8b7c177531dd32172d4345332fa05.tar.gz
simplify slightly
-rwxr-xr-xdebootstrap4
1 files changed, 1 insertions, 3 deletions
diff --git a/debootstrap b/debootstrap
index 03a176e..b8da4ee 100755
--- a/debootstrap
+++ b/debootstrap
@@ -402,9 +402,7 @@ else
error 1 WHATARCH "Couldn't work out current architecture"
fi
-if [ "$ARCH" != "" ]; then
- true
-else
+if [ -z "$ARCH" ]; then
ARCH=$HOST_ARCH
fi