Skip to content

Commit d0f30f5

Browse files
committed
Prerequisites preparation fix for behind firewall.
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
1 parent 8276255 commit d0f30f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/prerequisites.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function setup_from_zip() {
7777
return 0
7878
fi
7979

80-
wget -O "$TMP_DIR/$NAME.zip" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' zip archive."
80+
wget --no-check-certificate -O "$TMP_DIR/$NAME.zip" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' zip archive."
8181

8282
echo "$CHECKSUM $TMP_DIR/$NAME.zip" | sha256sum --check --strict || fail_msg "$FAIL_MSG. Archive's checksum doesn't match."
8383

@@ -164,7 +164,7 @@ function setup_cppcheck() {
164164
return 0
165165
fi
166166

167-
wget -O "$TMP_DIR/$NAME.tar.bz2" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive."
167+
wget --no-check-certificate -O "$TMP_DIR/$NAME.tar.bz2" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive."
168168

169169
echo "$CHECKSUM $TMP_DIR/$NAME.tar.bz2" | sha256sum --check --strict || fail_msg "$FAIL_MSG. Archive's checksum doesn't match."
170170

@@ -211,7 +211,7 @@ function setup_vera() {
211211
return 0
212212
fi
213213

214-
wget -O "$TMP_DIR/$NAME.tar.gz" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive."
214+
wget --no-check-certificate -O "$TMP_DIR/$NAME.tar.gz" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive."
215215

216216
echo "$CHECKSUM $TMP_DIR/$NAME.tar.gz" | sha256sum --check --strict || fail_msg "$FAIL_MSG. Archive's checksum doesn't match."
217217

@@ -246,7 +246,7 @@ setup_from_zip "stm32f4" \
246246

247247
setup_nuttx_headers "nuttx" \
248248
"./third-party/nuttx" \
249-
"git://git.code.sf.net/p/nuttx/git" \
249+
"http://git.code.sf.net/p/nuttx/git" \
250250
"36a655eddec29754cc93631b6083fe6409817861"
251251

252252
setup_cppcheck "cppcheck-1.66" \

0 commit comments

Comments
 (0)