diff options
author | Eric Mellino <erme@microsoft.com> | 2017-04-11 03:20:12 +0300 |
---|---|---|
committer | Eric Mellino <erme@microsoft.com> | 2017-04-25 03:34:34 +0300 |
commit | 40a04238438edf70312cd260d9cb42d80ce7156c (patch) | |
tree | ac7cbb4bfa27ed65db11184ff992418e11a240e3 /init-tools.sh | |
parent | 77cbe83794aa1a7853b48e9ee5e3930697d9807c (diff) |
Add a comment linking to nuget issue on all new usages of chmod.
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-x | init-tools.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init-tools.sh b/init-tools.sh index e66c957412..85daec51b7 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -141,6 +141,7 @@ if [ ! -e $__INIT_TOOLS_DONE_MARKER ]; then echo "Initializing BuildTools..." echo "Running: $__BUILD_TOOLS_PATH/init-tools.sh $__scriptpath $__DOTNET_CMD $__TOOLRUNTIME_DIR" >> $__init_tools_log + # Executables restored with .NET Core 2.0 do not have executable permission flags. https://github.com/NuGet/Home/issues/4424 chmod +x $__BUILD_TOOLS_PATH/init-tools.sh $__BUILD_TOOLS_PATH/init-tools.sh $__scriptpath $__DOTNET_CMD $__TOOLRUNTIME_DIR >> $__init_tools_log if [ "$?" != "0" ]; then @@ -152,6 +153,7 @@ if [ ! -e $__INIT_TOOLS_DONE_MARKER ]; then Tools-Override/crossgen.sh $__scriptpath/Tools echo "Making all .sh files executable under Tools." + # Executables restored with .NET Core 2.0 do not have executable permission flags. https://github.com/NuGet/Home/issues/4424 ls $__scriptpath/Tools/*.sh | xargs chmod +x ls $__scriptpath/Tools/scripts/docker/*.sh | xargs chmod +x |