Hologos / tpcp

A smart tool to remotely work with SAP import queue and transports.
MIT License
0 stars 0 forks source link

Cannot laod libraries if symlink on macOS #53

Open Hologos opened 3 years ago

Hologos commented 3 years ago

This fixed this. Test on linux.

ABSOLUTE_DIRPATH="$( cd "$( dirname "$([[ -L "${BASH_SOURCE[0]}" ]] && readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")" )" && pwd )" || { \
    >&2 echo "Cannot determine real path of the script."
    exit 1
}