61-dev1.7
This commit is contained in:
@@ -168,8 +168,8 @@ function handleSetupEnvironment() {
|
|||||||
writeToLog "$installDir exisits, skiping creation"
|
writeToLog "$installDir exisits, skiping creation"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$espressifLocation" -a "$idfGet" == "update" ]; then
|
if [[ -d "$espressifLocation" && "$idfGet" == "update" ]]; then
|
||||||
writeToLog "Skipping delete of $espressifLocation"
|
writeToLog "Skipping delete of $espressifLocation because dir exists AND idfGet is set to update"
|
||||||
else
|
else
|
||||||
if [ -d "$espressifLocation" ]; then
|
if [ -d "$espressifLocation" ]; then
|
||||||
writeToLog "deleting $espressifLocation"
|
writeToLog "deleting $espressifLocation"
|
||||||
@@ -202,7 +202,7 @@ function handleAliasEnviron() {
|
|||||||
function handleDownloadInstall() {
|
function handleDownloadInstall() {
|
||||||
writeToLog "Handling download and install (function ran)"
|
writeToLog "Handling download and install (function ran)"
|
||||||
|
|
||||||
if [ "$idfGet" == "download" -o ! -d "$idfDir" ]; then
|
if [[ "$idfGet" == "download" || ! -d "$idfDir" ]]; then
|
||||||
if [ -d "$idfDir" ]; then
|
if [ -d "$idfDir" ]; then
|
||||||
writeToLog "deleting $idfDir"
|
writeToLog "deleting $idfDir"
|
||||||
rm -rf $idfDir
|
rm -rf $idfDir
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
61-dev1.6
|
61-dev1.7
|
||||||
Reference in New Issue
Block a user