diff options
-rwxr-xr-x | scripts/update-prism.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/update-prism.sh b/scripts/update-prism.sh index 1e95896..43d320e 100755 --- a/scripts/update-prism.sh +++ b/scripts/update-prism.sh @@ -3,6 +3,7 @@ set -eu URL_BASE='https://github.com/PrismJS/prism/raw/gh-pages' +RES_PATH='data/resources/prism' download_files() { @@ -10,7 +11,7 @@ download_files() for file in "${@}"; do file="${file#%reldir%/}" - wget -O "$(dirname "${0}")/../data/resources/prism/${file}" \ + wget -O "$(dirname "${0}")/../${RES_PATH}/${file}" \ "${URL_BASE}/${file}" done } |