Skip to content

Commit

Permalink
Add more slashes to escape quoted shell arg
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Sep 13, 2018
1 parent 1723e72 commit e301ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = function( grunt ) {
command: 'npm run pot-to-php'
},
makepot: {
command: 'wp i18n make-pot . languages/amp-js.pot --include="*.js" --file-comment="*/\'\'/*"'
command: 'wp i18n make-pot . languages/amp-js.pot --include="*.js" --file-comment="*/\\\'\\\'/*"'
},
create_build_zip: {
command: 'if [ ! -e build ]; then echo "Run grunt build first."; exit 1; fi; if [ -e amp.zip ]; then rm amp.zip; fi; cd build; zip -r ../amp.zip .; cd ..; echo; echo "ZIP of build: $(pwd)/amp.zip"'
Expand Down

0 comments on commit e301ee6

Please sign in to comment.