terraform/install: deal with symlinks better

This commit is contained in:
Michael Hoang 2024-06-26 11:57:44 +10:00 committed by mergify[bot]
parent c20787adb1
commit 9216d7713b

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
SCRIPT_DIR="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
args=()
if [[ ${debug_logging-} == "true" ]]; then