File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,15 @@ JSON_STYLE_SOURCE="https://raw.github.com/freeformsystems/rlx/master/highlight/j
51
51
# # rm $CLOJURE_LANG_FILE $JSON_LANG_FILE $JSON_STYLE_FILE $PLAIN_LANG_FILE
52
52
53
53
# 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 " )
55
55
56
56
# 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 " )
59
59
60
60
# CSV/text/plain highlighting
61
61
# 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 " )
63
63
include "number.lang"
64
64
include "symbols.lang"
65
65
cbracket = "{|}"
You can’t perform that action at this time.
0 commit comments