Skip to content

Commit

Permalink
Make the sed command portable on MacOSX
Browse files Browse the repository at this point in the history
  • Loading branch information
npalix committed Feb 7, 2013
1 parent ec2fbc4 commit 5e16e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ptgen/php5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ lex.yy.cc: zend_language_scanner.l pt_zend_language_parser.tab.cc

head.cc pt_zend_language_parser.y: zend_language_parser.y zend_language_parser.y.head zend_language_parser.y.foot
./mainphp.py zend_language_parser.y
sed -i "s/'\"'/'\\\\\"'/" head.cc
sed -i -e "s/'\"'/'\\\\\"'/" head.cc

.PHONY: clean
clean:
Expand Down

0 comments on commit 5e16e6b

Please sign in to comment.