Merge pull request #77672 from active-group/unbreak-vagrant-macos
vagrant: Unbreak replacing symlinks on macOS
This commit is contained in:
commit
6f545410b5
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue