Merge pull request #77672 from active-group/unbreak-vagrant-macos

vagrant: Unbreak replacing symlinks on macOS
This commit is contained in:
Mario Rodas
2020-01-14 21:51:26 -05:00
committed by GitHub

View File

@@ -33,6 +33,8 @@ let
for gem in "$out"/lib/ruby/gems/*/gems/*; do
cp -a "$gem/" "$gem.new"
rm "$gem"
# needed on macOS, otherwise the mv yields permission denied
chmod +w "$gem.new"
mv "$gem.new" "$gem"
done
'';