From a59ed9b290f90d66433ebb732b73b9c3d4980def Mon Sep 17 00:00:00 2001 From: Adeel <3840695+am11@users.noreply.github.com> Date: Fri, 1 Oct 2021 14:47:15 +0300 Subject: [PATCH] Pass directory path from call-site --- 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