From 1a8399be3d15312bb086e9ae7bd9872d61dc7583 Mon Sep 17 00:00:00 2001 From: "Reid D. 'arrdem' McKenzie" Date: Mon, 21 Feb 2022 16:33:39 -0700 Subject: [PATCH] Realpath --- projects/public-dns/update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/public-dns/update.sh b/projects/public-dns/update.sh index 987449c..f44fc4b 100755 --- a/projects/public-dns/update.sh +++ b/projects/public-dns/update.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +cd "$(dirname $(realpath "$0"))" + exec bazel run :updater -- \ --config $(realpath ./config.yml) \ --templates $(realpath src/resources/zonefiles)