diff options
author | Lakshmi Priya Sekar <lasekar@microsoft.com> | 2016-01-21 04:37:31 +0300 |
---|---|---|
committer | Lakshmi Priya Sekar <lasekar@microsoft.com> | 2016-01-21 04:37:31 +0300 |
commit | c48f1191761c4adaab4ffbdb1eb65a24378d54ae (patch) | |
tree | 29575734f3bb5b060e38514bf5ff1146e24f611c /init-tools.sh | |
parent | cc206c82d9af6e2e2d3d1ce5d0f13437b151908a (diff) |
Fix build script for Unix.
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 |