From 85f72ad1bb6bf1ec74ae0c58fd36b63f1119c0a2 Mon Sep 17 00:00:00 2001 From: Jonathan Leroy Date: Tue, 21 Oct 2025 21:45:33 +0200 Subject: [PATCH] Add chengelog and remove duplicate call to dirname --- .changelog/cbeaa629126c4d7bbb6f8b59e76b8835.md | 4 ++++ script/common.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changelog/cbeaa629126c4d7bbb6f8b59e76b8835.md diff --git a/.changelog/cbeaa629126c4d7bbb6f8b59e76b8835.md b/.changelog/cbeaa629126c4d7bbb6f8b59e76b8835.md new file mode 100644 index 0000000..338be56 --- /dev/null +++ b/.changelog/cbeaa629126c4d7bbb6f8b59e76b8835.md @@ -0,0 +1,4 @@ +--- +type: none +--- +Fix venv activation not working when using a custom VENV_NAME \ No newline at end of file diff --git a/script/common.sh b/script/common.sh index 21a416d..6b57b34 100644 --- a/script/common.sh +++ b/script/common.sh @@ -9,7 +9,7 @@ set -e OCTODNS_PATH="$( dirname -- "${SCRIPT_PATH}"; )" # Change to path OctoDNS base directory -cd "$( dirname -- "${SCRIPT_PATH}"; )" +cd "${OCTODNS_PATH}" # If no venv name is set, set it to "env" if [ -z "${VENV_NAME}" ]; then