From fab85a68cc96862969efeeb37ac0d9906ac90037 Mon Sep 17 00:00:00 2001 From: Thefrank <1910378+Thefrank@users.noreply.github.com> Date: Sat, 22 Apr 2023 13:29:41 -0600 Subject: [PATCH] Fix platform detection for FreeBSD --- eng/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eng/build.sh b/eng/build.sh index 6a92f31749f9..51a2cd6ecd31 100755 --- a/eng/build.sh +++ b/eng/build.sh @@ -36,6 +36,8 @@ runtime_source_feed_key='' if [ "$(uname)" = "Darwin" ]; then target_os_name='osx' +elif [ "$(uname)" = "FreeBSD" ]; then + target_os_name='freebsd' else target_os_name='linux' fi @@ -380,4 +382,4 @@ if [ "$only_build_repo_tasks" != true ]; then MSBuild $_InitializeToolset -p:RepoRoot="$repo_root" ${msbuild_args[@]+"${msbuild_args[@]}"} fi -ExitWithExitCode 0 \ No newline at end of file +ExitWithExitCode 0