diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index 0e4352c..748b1ba 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -205,9 +205,9 @@ function handleAliasEnviron() { function handleDownloadInstall() { writeToLog "Handling download and install (function ran)\n" - if [ "$idfGet" == "download" || ! -d "$idfDir" ]; then + if [[ "$idfGet" == "download" || ! -d "$idfDir" ]]; then writeToLog "Setting for download mode\n" - + if [ -d "$idfDir" ]; then writeToLog "deleting $idfDir" rm -rf $idfDir diff --git a/version.txt b/version.txt index 74960c7..554be92 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -61-dev1.11 \ No newline at end of file +61-dev1.12 \ No newline at end of file