commit: f3f818eb40d144d40e2496cc87eceea79db380f8
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 29 17:20:24 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 29 17:44:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f818eb
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 <AT> gentoo.org>
scripts/bootstrap.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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}"