Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow referencing the sh file via link #88

Open
kghmanuel opened this issue Oct 30, 2018 · 0 comments
Open

Allow referencing the sh file via link #88

kghmanuel opened this issue Oct 30, 2018 · 0 comments
Assignees
Milestone

Comments

@kghmanuel
Copy link

Intent is to allow users to use a link to reference the sh file in /usr/bin instead of adding mlcp/bin to the PATH definition.

change in mlcp.sh:

< DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/../
---
> DIR="$( cd "$( dirname "$(realpath $0)" )" && pwd )"/..

This would allow the following to work:

sudo ln -s /path/to/mlcp/bin/mlcp.sh /usr/bin/mlcp

Users can then do mlcp anywhere without changing PATH definition

@mattsunsjf mattsunsjf self-assigned this Nov 6, 2018
@mattsunsjf mattsunsjf added this to the 10.0.1 milestone Nov 6, 2018
@mattsunsjf mattsunsjf assigned yunzvanessa and unassigned mattsunsjf Mar 22, 2019
@mattsunsjf mattsunsjf modified the milestones: 10.0.1, 10.0.2 Mar 22, 2019
@yunzvanessa yunzvanessa modified the milestones: 10.0.2, 10.0.3 Aug 24, 2019
@yunzvanessa yunzvanessa modified the milestones: 10.0.3, 11.0.1 Sep 18, 2019
@abika5 abika5 modified the milestones: 11.1.0, 11.2.0 Jan 3, 2024
@abika5 abika5 modified the milestones: 11.3.0, 11.4.0 Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants