diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index f5cce30..6da2899 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -281,7 +281,18 @@ function handleLogoutAllUsers() { fi } +function handleCheckEspIdf() { + if [ ! -z $IDF_PYTHON_ENV_PATH ]; then + writeToLog "FAIL: esp-idf environment varibles found!\nPelase run from a fresh termnal that has not had get_idf ran! Exiting" + exit + else + writeToLog "Environment correct: no esp-idf evnironment variables found, proceeding" + fi +} + function handleStart() { + handleCheckEspIdf + if [ -z $sleepMins ]; then sleepMins="disabled" fi diff --git a/version.txt b/version.txt index e70035c..4f287b4 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -60-rc1.6.3 \ No newline at end of file +60-rc2 \ No newline at end of file