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
ARCH=${CMD_ARCHOVERRIDE}
else
ARCH=`uname -m`
case "${ARCH}" in
i?86)
ARCH="x86"
;;
*)
;;
esac
if [ "${ARCH_OVERRIDE}" != '' ]
then
ARCH=${ARCH_OVERRIDE}
else
ARCH=`uname -m`
case "${ARCH}" in
i?86)
ARCH="x86"
;;
*)
;;
esac
fi
fi
ARCH_CONFIG="${GK_SHARE}/${ARCH}/config.sh"

Loading…
Cancel
Save