summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/auto-bootstraps/dobootstrap')
-rwxr-xr-xscripts/auto-bootstraps/dobootstrap3
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