From f3f818eb40d144d40e2496cc87eceea79db380f8 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 29 Mar 2020 10:20:24 -0700 Subject: 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 --- scripts/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/bootstrap.sh') diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index bfe81ac51ddf..e0dae52f02de 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}" -- cgit v1.2.3-65-gdbad