diff --git a/11_write_factorytest_by_esptool.sh b/11_write_factorytest_by_esptool.sh index 0768775..ecaf751 100755 --- a/11_write_factorytest_by_esptool.sh +++ b/11_write_factorytest_by_esptool.sh @@ -7,7 +7,9 @@ # BUILD_TOOLの文字列の長さが20以上の場合は、終了する if [ ${#BUILD_TOOL} -ge 20 ]; then echo "===" + echo "esptool module is installed" echo "Please execute the script again." + echo "もう一度実行してください。" echo "===" exit 1 fi diff --git a/lib.sh b/lib.sh index 9b2d682..2d92e3b 100644 --- a/lib.sh +++ b/lib.sh @@ -18,9 +18,7 @@ echo "$WIN_PYTHON -m esptool" return else - echo "installing esptool module for python first." - bash -c "$WIN_PYTHON -m pip install esptool" - echo "Please execute the script again." + bash -c "$WIN_PYTHON -m pip install esptool --no-warn-script-location" return fi echo "$WIN_PYTHON -m esptool"