marklogic / marklogic/marklogic-contentpump

Allow referencing the sh file via link

Open
#88 0 comments 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

minor mlcp new task
Dominant language
Java
Stars
37
Forks
32
Avg merge
1h 3m
Merged PRs (30d)
12

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.