Lines 44-49
run_paludis() {
Link Here
|
44 |
arch() { |
44 |
arch() { |
45 |
local ret=$(envvar sys-devel/gcc ARCH) |
45 |
local ret=$(envvar sys-devel/gcc ARCH) |
46 |
|
46 |
|
|
|
47 |
if [[ -n ${EPREFIX} && -n ${ret} && ${ret%-*} = "${ret}" ]]; then |
48 |
# prefix/linux profiles lie about their ARCH |
49 |
case $(envvar sys-devel/gcc KERNEL) in |
50 |
linux) ret+="-linux" ;; |
51 |
*) |
52 |
write_warning_msg \ |
53 |
"Failed to determine \${ARCH}." \ |
54 |
"Please submit a bug report." |
55 |
return 1 |
56 |
;; |
57 |
esac |
58 |
fi |
59 |
|
47 |
# $arch will be null if there's no current make.profile symlink. |
60 |
# $arch will be null if there's no current make.profile symlink. |
48 |
# We cannot get a list of valid profiles without it. |
61 |
# We cannot get a list of valid profiles without it. |
49 |
if [[ -z ${ret} ]]; then |
62 |
if [[ -z ${ret} ]]; then |