Skip to content

Commit 99d3f22

Browse files
authored
Fix platform detection for FreeBSD (#47839)
1 parent 5868d21 commit 99d3f22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eng/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ runtime_source_feed_key=''
3636

3737
if [ "$(uname)" = "Darwin" ]; then
3838
target_os_name='osx'
39+
elif [ "$(uname)" = "FreeBSD" ]; then
40+
target_os_name='freebsd'
3941
else
4042
target_os_name='linux'
4143
fi
@@ -380,4 +382,4 @@ if [ "$only_build_repo_tasks" != true ]; then
380382
MSBuild $_InitializeToolset -p:RepoRoot="$repo_root" ${msbuild_args[@]+"${msbuild_args[@]}"}
381383
fi
382384

383-
ExitWithExitCode 0
385+
ExitWithExitCode 0

0 commit comments

Comments
 (0)