From: Richard Jones Date: Sun, 24 May 2009 11:48:45 +0000 (+0100) Subject: Small fix to make febootstrap work on Debian. X-Git-Tag: 2.1~5 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=107e65aca6411c2d1a9efb25c1f08e52d5a3dec3;p=febootstrap.git Small fix to make febootstrap work on Debian. --- 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