Skip to content

Allow referencing the sh file via link #88

Open
@kghmanuel

Description

@kghmanuel

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

Activity

self-assigned this
on Nov 6, 2018
added this to the 10.0.1 milestone on Nov 6, 2018
modified the milestones: 10.0.1, 10.0.2 on Mar 22, 2019
modified the milestones: 10.0.2, 10.0.3 on Aug 24, 2019
modified the milestones: 10.0.3, 11.0.1 on Sep 18, 2019
removed this from the 11.1.0 milestone on Jan 3, 2024

3 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @kghmanuel@mattsunsjf@abika5@yunzvanessa

      Issue actions

        Allow referencing the sh file via link · Issue #88 · marklogic/marklogic-contentpump