mirror of https://github.com/go-redis/redis.git
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:
parent
68362cfda1
commit
55c9929dba
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue