From 5a425e764320c3462bb010fcea38b6181b94389a Mon Sep 17 00:00:00 2001
From: "dotnet-maestro[bot]"
<42748379+dotnet-maestro[bot]@users.noreply.github.com>
Date: Thu, 22 Dec 2022 14:18:50 +0000
Subject: [PATCH] [main] Update dependencies from dotnet/arcade (#6376)
[main] Update dependencies from dotnet/arcade
---
eng/Version.Details.xml | 4 +-
eng/common/native/init-compiler.sh | 81 +++++++++++-------------
eng/common/templates/job/onelocbuild.yml | 14 ++--
eng/common/tools.ps1 | 3 +-
eng/common/tools.sh | 4 +-
global.json | 2 +-
6 files changed, 53 insertions(+), 55 deletions(-)
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index fb3368ca28..dd91853d4c 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -3,9 +3,9 @@
-
+
https://github.com/dotnet/arcade
- 57ba56de330e50f9012493b8ba24818e24ec7817
+ 3003926e4126f827bca50d5b3ee179afc86d8a7b
diff --git a/eng/common/native/init-compiler.sh b/eng/common/native/init-compiler.sh
index 292ebb6535..c670cb7968 100644
--- a/eng/common/native/init-compiler.sh
+++ b/eng/common/native/init-compiler.sh
@@ -1,30 +1,25 @@
-#!/usr/bin/env bash
+#!/bin/sh
#
# This file detects the C/C++ compiler and exports it to the CC/CXX environment variables
#
# NOTE: some scripts source this file and rely on stdout being empty, make sure to not output anything here!
-if [[ "$#" -lt 3 ]]; then
+if [ -z "$build_arch" ] || [ -z "$compiler" ]; then
echo "Usage..."
- echo "init-compiler.sh