summaryrefslogtreecommitdiffstats
path: root/scripts/update-prism.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update-prism.sh')
-rwxr-xr-xscripts/update-prism.sh3
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
}