Bash get current directory


Bash, get directory where the script is located:

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