aboutsummaryrefslogtreecommitdiff
path: root/src/static/update_hashes.sh
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-07-04 22:27:41 +0200
committerMartin Fischer <martin@push-f.com>2021-07-04 22:27:41 +0200
commita803509255ce1f5edc6e77e9e483a721978e9b83 (patch)
tree90edaf0d149212db605b1ce1f4acc00b4bf6b252 /src/static/update_hashes.sh
parent4c824bad097118f95fa738468e5dd368b6c14ca8 (diff)
move src/help/*.html files to src/static/
Diffstat (limited to 'src/static/update_hashes.sh')
-rwxr-xr-xsrc/static/update_hashes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/update_hashes.sh b/src/static/update_hashes.sh
index ac6c6a1..3bcdb78 100755
--- a/src/static/update_hashes.sh
+++ b/src/static/update_hashes.sh
@@ -1,5 +1,5 @@
#/bin/sh
cd "$(dirname "$0")"
-for script in *.css *.js; do
+for script in style.css edit_script.js; do
printf "'sha256-%s'" $(shasum -a 256 < $script | cut -d' ' -f1 | xxd -r -p | base64 -w 0) > $script.sha
done