From 480a969cc0f127bb39be37f3c01602bc29ecb51c Mon Sep 17 00:00:00 2001 From: spinlock Date: Thu, 8 Jun 2017 13:42:18 +0800 Subject: [PATCH] config: make sed works on macosx --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c759a2307..9916f06b5 100644 --- a/Makefile +++ b/Makefile @@ -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