commit: e7bde60bec0494077dcee3f72c523d407b02aad1
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 14:58:32 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 14:58:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=e7bde60b
scripts/auto-bootstraps/dobootstrap: sync is-rap logic for failed builds
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/auto-bootstraps/dobootstrap | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/auto-bootstraps/dobootstrap
b/scripts/auto-bootstraps/dobootstrap
index 1ec3c3f220..047846e5be 100755
--- a/scripts/auto-bootstraps/dobootstrap
+++ b/scripts/auto-bootstraps/dobootstrap
@@ -139,7 +139,8 @@ do_prepare() {
local dist=$(lsb_release -si)
local rel=$(lsb_release -sr)
local platform=pc
- [[ -e usr/lib/libc.so ]] && platform=rap
+ # this is the logic used in bootstrap-prefix.sh
+ [[ ${PREFIX_DISABLE_RAP} != "yes" ]] && platform=rap
chost=${chost%%-*}-${platform}-linux-${dist,,}${rel}
fi