1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-16 06:10:08 -07:00

build.sh: prevent shell from interpreting patterns.

We want zip to handle the include patterns.

Fixes the "bug" that *.json had to be included multiple times in the
list (first one was expanded to the top-level manifest.json file by the
shell, second one was also expanded to the individual messages.json
files within the _locales directory).
This commit is contained in:
Mihai Moldovan 2024-04-17 08:29:00 +02:00
parent c6b6412ae3
commit 28f89f5228

View File

@ -4,4 +4,4 @@ filename='mailhops'
rm -f $filename.zip rm -f $filename.zip
zip -r $filename.zip ./ -i *.js *.xhtml *.html *.png *.svg *.gif *.css *.json *.dtd _locales/*/messages.json zip -r $filename.zip ./ -i '*.js' '*.xhtml' '*.html' '*.png' '*.svg' '*.gif' '*.css' '*.json' '*.dtd'