Skip to content

resolve symlinked executable of script #35

@Konfekt

Description

@Konfekt

The line

SCRIPTDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

does not yield the actual executable of the script if it is symlinked. How about adding -P to pwd to obtain the actual directory according to https://stackoverflow.com/a/7666

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions