From 5f2c60d00ef44137f3b438ff246d6457e629cf2c Mon Sep 17 00:00:00 2001 From: James Cuzella Date: Tue, 4 Feb 2025 04:07:45 -0700 Subject: [PATCH] bootstrap.sh: Fix RbConfig debug output Note: The heredoc did not parse properly for passing to -e --- bootstrap-scripts/bootstrap.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bootstrap-scripts/bootstrap.sh b/bootstrap-scripts/bootstrap.sh index fb956fb6..5ae03e80 100755 --- a/bootstrap-scripts/bootstrap.sh +++ b/bootstrap-scripts/bootstrap.sh @@ -498,11 +498,10 @@ function debug_apple_arch() { sysctl machdep printf "rbconfig CC: " ruby -r rbconfig -e "puts RbConfig::CONFIG['CC']" - ruby -r rbconfig -e <<'EORB' - puts "CC: #{RbConfig::CONFIG['CC']}" - puts "CXX: #{RbConfig::CONFIG['CXX']}" - puts "CFLAGS: #{RbConfig::CONFIG['CFLAGS']}" -EORB + printf "rbconfig CXX: " + ruby -r rbconfig -e "puts RbConfig::CONFIG['CXX']" + printf "rbconfig CFLAGS: " + ruby -r rbconfig -e "puts RbConfig::CONFIG['CFLAGS']" printf "Built ruby arch: " file $(which ruby) printf "Built libruby arch: "