From d0f30f5753e87a8e6e662ef39bb662ed4330d9c7 Mon Sep 17 00:00:00 2001 From: SaeHie Park Date: Thu, 7 May 2015 06:28:14 +0900 Subject: [PATCH] Prerequisites preparation fix for behind firewall. JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com --- tools/prerequisites.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/prerequisites.sh b/tools/prerequisites.sh index ad4c4dd2d9..e7f4ac06e0 100755 --- a/tools/prerequisites.sh +++ b/tools/prerequisites.sh @@ -77,7 +77,7 @@ function setup_from_zip() { return 0 fi - wget -O "$TMP_DIR/$NAME.zip" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' zip archive." + wget --no-check-certificate -O "$TMP_DIR/$NAME.zip" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' zip archive." echo "$CHECKSUM $TMP_DIR/$NAME.zip" | sha256sum --check --strict || fail_msg "$FAIL_MSG. Archive's checksum doesn't match." @@ -164,7 +164,7 @@ function setup_cppcheck() { return 0 fi - wget -O "$TMP_DIR/$NAME.tar.bz2" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive." + wget --no-check-certificate -O "$TMP_DIR/$NAME.tar.bz2" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive." echo "$CHECKSUM $TMP_DIR/$NAME.tar.bz2" | sha256sum --check --strict || fail_msg "$FAIL_MSG. Archive's checksum doesn't match." @@ -211,7 +211,7 @@ function setup_vera() { return 0 fi - wget -O "$TMP_DIR/$NAME.tar.gz" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive." + wget --no-check-certificate -O "$TMP_DIR/$NAME.tar.gz" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive." echo "$CHECKSUM $TMP_DIR/$NAME.tar.gz" | sha256sum --check --strict || fail_msg "$FAIL_MSG. Archive's checksum doesn't match." @@ -246,7 +246,7 @@ setup_from_zip "stm32f4" \ setup_nuttx_headers "nuttx" \ "./third-party/nuttx" \ - "git://git.code.sf.net/p/nuttx/git" \ + "http://git.code.sf.net/p/nuttx/git" \ "36a655eddec29754cc93631b6083fe6409817861" setup_cppcheck "cppcheck-1.66" \