Skip to content

Commit

Permalink
config: make sed works on macosx
Browse files Browse the repository at this point in the history
  • Loading branch information
spinlock committed Jun 8, 2017
1 parent 01f72db commit 480a969
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ codis-server:
@cp -f extern/redis-3.2.8/src/redis-benchmark bin/
@cp -f extern/redis-3.2.8/src/redis-cli bin/
@cp -f extern/redis-3.2.8/redis.conf config/
@cp -f extern/redis-3.2.8/sentinel.conf config/
@sed -e "s/^sentinel/# sentinel/g" config/sentinel.conf -i
@sed -e "s/^sentinel/# sentinel/g" extern/redis-3.2.8/sentinel.conf > config/sentinel.conf

clean-gotest:
@rm -rf ./pkg/topom/gotest.tmp
Expand Down

0 comments on commit 480a969

Please sign in to comment.