Skip to content

Commit

Permalink
Change Makefile to use sed syntax that will work for both GNU and BSD…
Browse files Browse the repository at this point in the history
… sed (redis#719)

* Use sed syntax that will work with both GNU and BSD sed
  • Loading branch information
tthyer authored and vmihailenco committed Feb 27, 2018
1 parent 68362cf commit 55c9929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 55c9929

Please sign in to comment.