mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
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 $@
|
wget -qO- https://github.com/antirez/redis/archive/unstable.tar.gz | tar xvz --strip-components=1 -C $@
|
||||||
|
|
||||||
testdata/redis/src/redis-server: testdata/redis
|
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
|
cd $< && make all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user