From 107e65aca6411c2d1a9efb25c1f08e52d5a3dec3 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sun, 24 May 2009 12:48:45 +0100 Subject: [PATCH] Small fix to make febootstrap work on Debian. --- README | 2 +- febootstrap.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index abe832a..ffc6608 100644 --- a/README +++ b/README @@ -23,7 +23,7 @@ Requirements in future versions of fakechroot. yum - - Tested with version 3.2. + - Tested with version 3.2 (works best with 3.2.21 or above) - Needs network access to a Fedora repository, or a local Fedora mirror. diff --git a/febootstrap.sh b/febootstrap.sh index 91b4f55..654d51f 100755 --- a/febootstrap.sh +++ b/febootstrap.sh @@ -82,7 +82,7 @@ mirror="$3" # Architecture is currently always the same as the current arch. We # cannot do --foreign builds. See discussion in the manpage. -arch=$(arch) +arch=$(uname -m) case $arch in i?86) arch=i386 ;; esac -- 1.8.3.1