libgit2 / objective-git

Objective-C bindings to libgit2
MIT License
1.16k stars 280 forks source link

Fix packaging script when paths contain spaces #712

Closed lanquemar closed 3 years ago

lanquemar commented 3 years ago

By default, two schemes are built: ObjectiveGit Mac and ObjectiveGit iOS. They both contain a space character that ends up in their build directory names.

When repackage-dylibs.rb is run, these directories are given to otool and install_name_tool which treats spaces as argument separators.

This PR adds quotes to them.

tiennou commented 3 years ago

Good catch, thanks !