diff options
author | Sven Boemer <sbomer@gmail.com> | 2017-05-10 19:59:43 +0300 |
---|---|---|
committer | Wes Haggard <weshaggard@users.noreply.github.com> | 2017-05-10 19:59:43 +0300 |
commit | 5c3254036e4b7609a3d0c59e1a9cf8c6443d7832 (patch) | |
tree | 72f1057ff1f495496c0e7f72b08a0a65f4f89fc9 /init-tools.sh | |
parent | 880e6b6340febd450ef6d165dc7077877cbcf740 (diff) |
Create done marker directory (#19538)
Otherwise the done marker isn't created in init-tools.sh, causing the
tools to be restored on each build.
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-x | init-tools.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/init-tools.sh b/init-tools.sh index b77b34a328..27405d6703 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -12,7 +12,8 @@ __BUILD_TOOLS_PACKAGE_VERSION=$(cat $__scriptpath/BuildToolsVersion.txt) __DOTNET_TOOLS_VERSION=$(cat $__scriptpath/DotnetCLIVersion.txt) __BUILD_TOOLS_PATH=$__PACKAGES_DIR/microsoft.dotnet.buildtools/$__BUILD_TOOLS_PACKAGE_VERSION/lib __INIT_TOOLS_RESTORE_PROJECT=$__scriptpath/init-tools.msbuild -__INIT_TOOLS_DONE_MARKER=$__TOOLRUNTIME_DIR/$__BUILD_TOOLS_PACKAGE_VERSION/done +__INIT_TOOLS_DONE_MARKER_DIR=$__TOOLRUNTIME_DIR/$__BUILD_TOOLS_PACKAGE_VERSION +__INIT_TOOLS_DONE_MARKER=$__INIT_TOOLS_DONE_MARKER_DIR/done if [ -z "$__DOTNET_PKG" ]; then if [ "$(uname -m | grep "i[3456]86")" = "i686" ]; then @@ -109,6 +110,7 @@ if [ ! -e $__INIT_TOOLS_DONE_MARKER ]; then Tools/crossgen.sh $__scriptpath/Tools + mkdir -p $__INIT_TOOLS_DONE_MARKER_DIR touch $__INIT_TOOLS_DONE_MARKER echo "Done initializing tools." |