Skip to content

Commit d2434b1

Browse files
authored
Export variables needed for SB (#911)
1 parent f0b70a8 commit d2434b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@ if [[ "$sourceOnly" == "true" ]]; then
422422
fi
423423

424424
# Set _InitializeDotNetCli & DOTNET_INSTALL_DIR so that eng/common/tools.sh doesn't attempt to restore the SDK.
425-
_InitializeDotNetCli="$CLI_ROOT"
426-
DOTNET_INSTALL_DIR="$CLI_ROOT"
425+
export _InitializeDotNetCli="$CLI_ROOT"
426+
export DOTNET_INSTALL_DIR="$CLI_ROOT"
427427

428428
# Find the Arcade SDK version and set env vars for the msbuild sdk resolver
429429
packageVersionsPath=''

0 commit comments

Comments
 (0)