1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00
Commit Graph

3 Commits

Author SHA1 Message Date
Marco Hinz
db5494c809
install: use readlink to resolve symlinks
The `file(1)` shipped on macOS doesn't resolve symlinks:

    $ echo foo > file
    $ ln -s file link
    $ /usr/bin/file link
    link: ASCII text

Unfortunately the `readlink(1)` on macOS doesn't support the `-f` flag as well,
so we just match against the end of the string.
2017-01-05 13:36:12 +01:00
Marco Hinz
1af58d9c87
install: make shellcheck-clean 2017-01-04 17:08:33 +01:00
wsdjeg
474e40439d Add install.sh 2017-01-04 00:20:25 +08:00