NitorCreations / license-maintainer

Maintains license preamble in source files etc in your project
Other
15 stars 11 forks source link

Adapted install script for compatibility with the macos ln command #10

Closed alexclewontin closed 4 years ago

alexclewontin commented 4 years ago

The ln command on MacOS lacks a --backup flag, so the script fails. This commit modifies the install script to detect the operating system, and run the command to create the symlink without the --backup flag if it is MacOS.

I modified this for use in one of my projects, and figured I'd make it available to you for the base repository, if you are interested. Thanks for the great script!

alexclewontin commented 4 years ago

Ah, missed that PRs should be against hooks-only, closing this!