From 0c7b6090da786de811905bb7f085123840064b10 Mon Sep 17 00:00:00 2001 From: Adeel Mujahid <3840695+am11@users.noreply.github.com> Date: Fri, 1 Oct 2021 19:35:40 +0300 Subject: [PATCH] Pass directory path from call-site (#59858) --- eng/common/native/init-compiler.sh | 18 ++++++++++-------- eng/native/gen-buildsys.sh | 3 ++- src/mono/mono.proj | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/eng/common/native/init-compiler.sh b/eng/common/native/init-compiler.sh index 1daadf32a524f..28f5145a6f794 100644 --- a/eng/common/native/init-compiler.sh +++ b/eng/common/native/init-compiler.sh @@ -3,9 +3,10 @@ # This file detects the C/C++ compiler and exports it to the CC/CXX environment variables # -if [[ "$#" -lt 2 ]]; then +if [[ "$#" -lt 3 ]]; then echo "Usage..." - echo "init-compiler.sh " + echo "init-compiler.sh