Skip to content

Commit

Permalink
Fix setting of the PYTHON env variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
slav-at-attachix committed Oct 23, 2024
1 parent ece9b45 commit 5be0502
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tools/export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ if [ -z "$SMING_HOME" ]; then
fi

# Common
export PYTHON=${PYTHON:=$(which python3)}

# Python Virtual Environment
if [ -f ~/.venvs/Sming/bin/activate ]; then
source ~/.venvs/Sming/bin/activate
fi

export PYTHON=${PYTHON:=$(which python3)}

# Esp8266
export ESP_HOME=${ESP_HOME:=/opt/esp-quick-toolchain}

Expand Down

0 comments on commit 5be0502

Please sign in to comment.