Change Makefile to use sed syntax that will work for both GNU and BSD sed (#719)

* Use sed syntax that will work with both GNU and BSD sed
This commit is contained in:
Tess Thyer 2018-02-27 10:05:21 -08:00 committed by Vladimir Mihailenco
parent 68362cfda1
commit 55c9929dba
1 changed files with 1 additions and 1 deletions

View File

@ -15,5 +15,5 @@ testdata/redis:
wget -qO- https://github.com/antirez/redis/archive/unstable.tar.gz | tar xvz --strip-components=1 -C $@
testdata/redis/src/redis-server: testdata/redis
sed -i 's/libjemalloc.a/libjemalloc.a -lrt/g' $</src/Makefile
sed -i.bak 's/libjemalloc.a/libjemalloc.a -lrt/g' $</src/Makefile
cd $< && make all