diff options
Diffstat (limited to 'meta')
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/adt_installer | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer index 7fc37f82fc..24db247910 100755 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer | |||
@@ -379,8 +379,8 @@ validate_config | |||
379 | check_result | 379 | check_result |
380 | 380 | ||
381 | #check adt_repo exist | 381 | #check adt_repo exist |
382 | wget $YOCTOADT_REPO 2>&1 | tee -a "$YOCTOADT_INSTALL_LOG_FILE" | 382 | wget --spider $YOCTOADT_REPO 2>&1 | tee -a "$YOCTOADT_INSTALL_LOG_FILE" |
383 | if grep -q "ERROR 404: Not Found" $YOCTOADT_INSTALL_LOG_FILE; then | 383 | if grep -q "404 Not Found" $YOCTOADT_INSTALL_LOG_FILE; then |
384 | echo -e "[ADT_INST] Error: YOCTOADT_REPO does not exist: $YOCTOADT_REPO" | 384 | echo -e "[ADT_INST] Error: YOCTOADT_REPO does not exist: $YOCTOADT_REPO" |
385 | echo -e "\n#############################################################################" | 385 | echo -e "\n#############################################################################" |
386 | echo -e "# Meet error(s) when installing Yocto ADT! Please check log file for details. " | 386 | echo -e "# Meet error(s) when installing Yocto ADT! Please check log file for details. " |