Skip to content

Commit 480a969

Browse files
author
spinlock
committed
config: make sed works on macosx
1 parent 01f72db commit 480a969

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ codis-server:
3131
@cp -f extern/redis-3.2.8/src/redis-benchmark bin/
3232
@cp -f extern/redis-3.2.8/src/redis-cli bin/
3333
@cp -f extern/redis-3.2.8/redis.conf config/
34-
@cp -f extern/redis-3.2.8/sentinel.conf config/
35-
@sed -e "s/^sentinel/# sentinel/g" config/sentinel.conf -i
34+
@sed -e "s/^sentinel/# sentinel/g" extern/redis-3.2.8/sentinel.conf > config/sentinel.conf
3635

3736
clean-gotest:
3837
@rm -rf ./pkg/topom/gotest.tmp

0 commit comments

Comments
 (0)