diff --git a/installer/templates/invoke.sh.in b/installer/templates/invoke.sh.in index b8d5a7af23..0bc6bbb471 100644 --- a/installer/templates/invoke.sh.in +++ b/installer/templates/invoke.sh.in @@ -17,7 +17,7 @@ set -eu # Ensure we're in the correct folder in case user's CWD is somewhere else -scriptdir=$(dirname "$0") +scriptdir=$(dirname $(readlink -f "$0")) cd "$scriptdir" . .venv/bin/activate