This commit is contained in:
2024-11-12 13:03:29 -07:00
parent 2e26f3d319
commit 42777c587e
2 changed files with 12 additions and 1 deletions
+11
View File
@@ -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