Fix bug 95280 in genkernel. ARCH_OVERRIDE in /etc/genkernel.conf should work now

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@247 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Eric Edgar 20 years ago
parent 9a33e43575
commit 823faee86d

@ -5,14 +5,19 @@ get_official_arch() {
then then
ARCH=${CMD_ARCHOVERRIDE} ARCH=${CMD_ARCHOVERRIDE}
else else
ARCH=`uname -m` if [ "${ARCH_OVERRIDE}" != '' ]
case "${ARCH}" in then
i?86) ARCH=${ARCH_OVERRIDE}
ARCH="x86" else
;; ARCH=`uname -m`
*) case "${ARCH}" in
;; i?86)
esac ARCH="x86"
;;
*)
;;
esac
fi
fi fi
ARCH_CONFIG="${GK_SHARE}/${ARCH}/config.sh" ARCH_CONFIG="${GK_SHARE}/${ARCH}/config.sh"

Loading…
Cancel
Save