Skip to content
Prev Previous commit
Next Next commit
Try with a comment with special chars (),/,"voilà"
  • Loading branch information
asbiin committed Feb 8, 2018
commit edb824efc2c75fde14acbb89bbae68b90b618c82
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ $(ASSETS):

dist: results/$(DESTDIR).tar.bz2 results/$(ASSETS).tar.bz2 .travis.deploy.json

COMMIT_MESSAGE := $(shell echo $$TRAVIS_COMMIT_MESSAGE | sed -s 's/"/\\\\\\\\\\"/g' | sed -s 's/(/\\(/g' | sed -s 's/)/\\)/g' | sed -s 's%/%\\/%g')
COMMIT_MESSAGE := $(shell echo "$$TRAVIS_COMMIT_MESSAGE" | sed -s 's/"/\\\\\\\\\\"/g' | sed -s 's/(/\\(/g' | sed -s 's/)/\\)/g' | sed -s 's%/%\\/%g')

.travis.deploy.json: .travis.deploy.json.in
cp $< $@
Expand Down