mirror of
https://github.com/MailHops/mailhops-plugin.git
synced 2025-05-15 22:00: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:
parent
c6b6412ae3
commit
28f89f5228
2
build.sh
2
build.sh
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user