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