Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11d0bae

Browse files
committed
Add --no-check-certificate to wget commands
wget fails on some systems as it does not recognize gist.github.com certificates, etc.
1 parent 9408391 commit 11d0bae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script/asciidoc/bootstrap_osx.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ JSON_STYLE_SOURCE="https://raw.github.com/freeformsystems/rlx/master/highlight/j
5151
## rm $CLOJURE_LANG_FILE $JSON_LANG_FILE $JSON_STYLE_FILE $PLAIN_LANG_FILE
5252

5353
# Clojure highlighting support
54-
test -f "$CLOJURE_LANG_FILE" || (echo "********** Adding $CLOJURE_LANG_FILE **********" && wget -O $CLOJURE_LANG_FILE $CLOJURE_LANG_SOURCE)
54+
test -f "$CLOJURE_LANG_FILE" || (echo "********** Adding $CLOJURE_LANG_FILE **********" && wget --no-check-certificate -O $CLOJURE_LANG_FILE $CLOJURE_LANG_SOURCE)
5555

5656
# JSON highlighting support
57-
test -f "$JSON_LANG_FILE" || (echo "********** Adding $JSON_LANG_FILE **********" && wget -O $JSON_LANG_FILE $JSON_LANG_SOURCE)
58-
test -f "$JSON_STYLE_FILE" || (echo "********** Adding $JSON_STYLE_FILE **********" && wget -O $JSON_STYLE_FILE $JSON_STYLE_SOURCE)
57+
test -f "$JSON_LANG_FILE" || (echo "********** Adding $JSON_LANG_FILE **********" && wget --no-check-certificate -O $JSON_LANG_FILE $JSON_LANG_SOURCE)
58+
test -f "$JSON_STYLE_FILE" || (echo "********** Adding $JSON_STYLE_FILE **********" && wget --no-check-certificate -O $JSON_STYLE_FILE $JSON_STYLE_SOURCE)
5959

6060
# CSV/text/plain highlighting
6161
# This is to avoid errors more than actually highlight anything.

0 commit comments

Comments
 (0)