diff options
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-x | init-tools.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init-tools.sh b/init-tools.sh index bbc6c11c84..1330ac070c 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -40,7 +40,7 @@ if [ ! -e $__PROJECT_JSON_FILE ]; then wget -q -O $__DOTNET_PATH/dotnet.tar https://dotnetcli.blob.core.windows.net/dotnet/dev/Binaries/${__DOTNET_TOOLS_VERSION}/${__DOTNET_PKG}.${__DOTNET_TOOLS_VERSION}.tar.gz cd $__DOTNET_PATH tar -xf $__DOTNET_PATH/dotnet.tar - if [ -n $BUILDTOOLS_OVERRIDE_RUNTIME ]; then + if [ -n "$BUILDTOOLS_OVERRIDE_RUNTIME" ]; then find $__DOTNET_PATH -name *.ni.* | xargs rm 2>/dev/null cp -R $BUILDTOOLS_OVERRIDE_RUNTIME/* $__DOTNET_PATH/bin cp -R $BUILDTOOLS_OVERRIDE_RUNTIME/* $__DOTNET_PATH/bin/dnx |