From a04475b871b667f05d7f13630a10b509a55d9ed4 Mon Sep 17 00:00:00 2001 From: Gregory Burd Date: Sun, 15 Apr 2012 14:35:31 -0400 Subject: [PATCH] Add lsm_btree into the list of applications in riak_kv.app.src --- enable-lsm_btree | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/enable-lsm_btree b/enable-lsm_btree index a2d6e09..9669fb2 100755 --- a/enable-lsm_btree +++ b/enable-lsm_btree @@ -34,6 +34,13 @@ fi rebar get-deps +file=./deps/riak_kv/src/riak_kv.app.src +if ! grep -q lsm_btree $file ; then + echo + echo "Modifying $file, saving the original as ${file}.orig ..." + perl -i.orig -pe '/\bos_mon,/ && print qq( lsm_btree,\n)' $file +fi + file=./deps/riak_kv/rebar.config if ! grep -q lsm_btree $file ; then echo