mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
0d35369324
The install() command will create the parent directories, but it does so with the user's umask. We want to do our best to make sure the correct permissions are being set, without clobbering existing permissions. To do this, this commit introduces an install_helper(), which is similar in signature to the install() command, to help ensure that directories are created ahead of the actual install() command. This will attempt to use 0644 permissions for files and 0755 permissions for directories by default--though they can be overridden. To make this work correctly, without trying to introduce some mechanism with setting the umask, it meant that there's a small portion that makes use of an "internal" version of the file() command. It has been tested on CMake 2.8.11, 2.8.12, and 3.0.2, and works correctly on all versions. This fixes #1201 and #1086. |
||
---|---|---|
.. | ||
ConvertPo.cmake | ||
FindLibIntl.cmake | ||
FindLibUV.cmake | ||
FindLuaJit.cmake | ||
FindMsgpack.cmake | ||
GenerateHelptags.cmake | ||
i386-linux-gnu.toolchain.cmake | ||
InstallHelpers.cmake | ||
LibFindMacros.cmake | ||
LuaHelpers.cmake | ||
RunMsgfmt.cmake | ||
RunMsgmerge.cmake | ||
RunUnittests.cmake | ||
RunXgettext.cmake |