61-dev1.5

This commit is contained in:
2024-11-12 17:04:08 -07:00
parent a4fff835f6
commit ccf8cce635
2 changed files with 11 additions and 7 deletions
+10 -6
View File
@@ -160,7 +160,7 @@ function handleExport() {
function handleSetupEnvironment() {
writeToLog "Handling setup environment (function ran)"
if ! [ -d $installDir ]; then
if [ ! -d "$installDir" ]; then
writeToLog "creating $installDir"
mkdir $installDir
returnStatus
@@ -168,12 +168,16 @@ function handleSetupEnvironment() {
writeToLog "$installDir exisits, skiping creation"
fi
if [ -d $espressifLocation ]; then
writeToLog "deleting $espressifLocation"
rm -rf $espressifLocation
returnStatus
if [ -d "$espressifLocation" -a "$idfGet" == "update" ]; then
writeToLog "Skipping delete of $espressifLocation"
else
writeToLog "$espressifLocation not found, skipping delete"
if [ -d "$espressifLocation" ]; then
writeToLog "deleting $espressifLocation"
rm -rf $espressifLocation
returnStatus
else
writeToLog "Skipping delete of $espressifLocation"
fi
fi
}
+1 -1
View File
@@ -1 +1 @@
61-dev1.4
61-dev1.5