ingydotnet / git-hub

Do GitHub operations from the `git` command
MIT License
794 stars 62 forks source link

Follow symlinks when looking for lib files #236

Closed raimue closed 7 years ago

raimue commented 7 years ago

The previous logic would not handle the case when the executed 'git-hub' script itself was a symlink.

Yes, this looks bloated, but I found no better portable solution.

ingydotnet commented 7 years ago

Applied. Pushed. Thanks!

Paired with @EitanSchuler to clean up code a bit.

Passes shellcheck.