#!/usr/bin/env bash # Get the parent dir to the one this script is located in. base_dir=$(dirname -- "$(dirname -- "$(realpath -- "${0}")")") echo "${base_dir}"