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

Skip to content

Commit 7397fad

Browse files
author
Ryan Neufeld
committed
Merge branch 'shalicke-patch-1'
2 parents 04251d8 + 824b772 commit 7397fad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

script/asciidoc/bootstrap_osx.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ 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 **********" && curl --location --silent --output "$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 **********" && curl --location --silent --output "$JSON_LANG_FILE" "$JSON_LANG_SOURCE")
58+
test -f "$JSON_STYLE_FILE" || (echo "********** Adding $JSON_STYLE_FILE **********" && curl --location --silent --output "$JSON_STYLE_FILE" "$JSON_STYLE_SOURCE")
5959

6060
# CSV/text/plain highlighting
6161
# This is to avoid errors more than actually highlight anything.
62-
test -f "$PLAIN_LANG_FILE" || (echo "********** Adding $PLAIN_LANG_FILE **********" && cat <<END > $PLAIN_LANG_FILE)
62+
test -f "$PLAIN_LANG_FILE" || (echo "********** Adding $PLAIN_LANG_FILE **********" && cat <<END > "$PLAIN_LANG_FILE")
6363
include "number.lang"
6464
include "symbols.lang"
6565
cbracket = "{|}"

0 commit comments

Comments
 (0)