From 0f15c28a8473d749aea5c458d36af0f7be12e76e Mon Sep 17 00:00:00 2001 From: Kelvie Wong Date: Sun, 25 Jul 2021 16:15:42 -0700 Subject: [PATCH] Fix install.fish install.fish script didn't catch error exit code from idf_tools.py. Now it does. Signed-off-by: Marek Fiala Closes: https://github.com/espressif/esp-idf/pull/7325 --- install.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.fish b/install.fish index 1b895c912a..6490da6b98 100755 --- a/install.fish +++ b/install.fish @@ -14,8 +14,7 @@ else end echo "Installing ESP-IDF tools" "$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py install --targets=$TARGETS - exit 1 -end +or exit 1 echo "Installing Python environment and packages" "$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py install-python-env