diff --git a/bootstrap/flux/bootstrap.sh b/bootstrap/flux/bootstrap.sh index 580d20f..a7a9f57 100755 --- a/bootstrap/flux/bootstrap.sh +++ b/bootstrap/flux/bootstrap.sh @@ -57,7 +57,7 @@ SOPS_SECRET_NAME="${SOPS_SECRET_NAME:-sops-age}" FLUX_COMPONENTS_EXTRA="${FLUX_COMPONENTS_EXTRA:-image-reflector-controller,image-automation-controller}" script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -repo_root="$(git -C "${script_dir}" rev-parse --show-toplevel 2>/dev/null || cd "${script_dir}/../.." && pwd)" +repo_root="$(git -C "${script_dir}" rev-parse --show-toplevel 2>/dev/null || (cd "${script_dir}/../.." && pwd))" echo "==> Flux + SOPS bootstrap (dev) — path=${FLUX_ENV_PATH}"