Because relative paths break if you start the script from a different directory
THIS_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source
Date: 2019-07-25
Tags: bash
Share: