diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-06-16 16:58:32 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-06-16 16:58:32 +0200 |
commit | e7bde60bec0494077dcee3f72c523d407b02aad1 (patch) | |
tree | b0a6773d5bb58eaf9f2b2d23995e0867445cf5ed | |
parent | scripts/auto-bootstraps/dobootstrap: flag RAP in CHOST (platform) (diff) | |
download | prefix-e7bde60bec0494077dcee3f72c523d407b02aad1.tar.gz prefix-e7bde60bec0494077dcee3f72c523d407b02aad1.tar.bz2 prefix-e7bde60bec0494077dcee3f72c523d407b02aad1.zip |
scripts/auto-bootstraps/dobootstrap: sync is-rap logic for failed builds
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-x | scripts/auto-bootstraps/dobootstrap | 3 |
1 files changed, 2 insertions, 1 deletions
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 |