Add output when activating venv

This commit is contained in:
mauwii 2023-02-08 23:39:28 +01:00
parent a338af17c8
commit 09f69a4d28
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -8,7 +8,8 @@ if [[ -z "$PIP_EXTRA_INDEX_URL" ]]; then
# Activate virtual environment if not already activated and exists
if [[ -z $VIRTUAL_ENV ]]; then
[[ -e "$(dirname "${BASH_SOURCE[0]}")/../.venv/bin/activate" ]] \
&& source "$(dirname "${BASH_SOURCE[0]}")/../.venv/bin/activate"
&& source "$(dirname "${BASH_SOURCE[0]}")/../.venv/bin/activate" \
&& echo "Activated virtual environment: $VIRTUAL_ENV"
fi
# Decide which container flavor to build if not specified