summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-03-29 10:20:24 -0700
committerMatt Turner <mattst88@gentoo.org>2020-03-29 10:44:39 -0700
commitf3f818eb40d144d40e2496cc87eceea79db380f8 (patch)
treef050d55475a731e7f40dea3ebb53edad594016a9 /scripts
parentscripts/bootstrap.sh: Emerge the actual libc (diff)
downloadgentoo-f3f818eb40d144d40e2496cc87eceea79db380f8.tar.gz
gentoo-f3f818eb40d144d40e2496cc87eceea79db380f8.tar.bz2
gentoo-f3f818eb40d144d40e2496cc87eceea79db380f8.zip
scripts/bootstrap.sh: Expand virtual/os-headers fallback
Unlikely that this fallback will ever be hit, but might as well prepare. Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index bfe81ac51dd..e0dae52f02d 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -292,7 +292,7 @@ if [[ ${USE_NPTL} = "1" ]] ; then
# Should we build with nptl only?
[[ ${USE_NPTLONLY} = "1" ]] && ALLOWED_USE="${ALLOWED_USE} nptlonly"
fi
-[[ -z ${myOS_HEADERS} ]] && myOS_HEADERS="virtual/os-headers"
+[[ -z ${myOS_HEADERS} ]] && myOS_HEADERS="$(portageq expand_virtual / virtual/os-headers)"
einfo "Using baselayout : ${myBASELAYOUT}"
einfo "Using portage : ${myPORTAGE}"