Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Have shell script follow symlink #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Have shell script follow symlink #70

wants to merge 1 commit into from

Conversation

saneki
Copy link
Contributor

@saneki saneki commented Nov 7, 2014

This is so a symlink to the script can be placed in a directory such as /usr/bin and function correctly.

Assuming that this doesn't break anything on OS X.

@darealshinji
Copy link

Line ending of the shell script should also be changed to Unix or otherwise you get this warning:
bash: ./disunity.sh: /bin/sh^M: bad interpreter: No such file or directory

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants