From f79ddf24a967a0043270b2999921550c6c366ec4 Mon Sep 17 00:00:00 2001 From: Sanjay Ghemawat Date: Thu, 27 Dec 2012 10:38:48 -0800 Subject: added utility to dump leveldb files --- src/leveldb/build_detect_platform | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/leveldb/build_detect_platform') diff --git a/src/leveldb/build_detect_platform b/src/leveldb/build_detect_platform index 1080df77f4..609cb51224 100755 --- a/src/leveldb/build_detect_platform +++ b/src/leveldb/build_detect_platform @@ -149,7 +149,8 @@ DIRS="$PREFIX/db $PREFIX/util $PREFIX/table" set -f # temporarily disable globbing so that our patterns aren't expanded PRUNE_TEST="-name *test*.cc -prune" PRUNE_BENCH="-name *_bench.cc -prune" -PORTABLE_FILES=`find $DIRS $PRUNE_TEST -o $PRUNE_BENCH -o -name '*.cc' -print | sort | sed "s,^$PREFIX/,," | tr "\n" " "` +PRUNE_TOOL="-name leveldb_main.cc -prune" +PORTABLE_FILES=`find $DIRS $PRUNE_TEST -o $PRUNE_BENCH -o $PRUNE_TOOL -o -name '*.cc' -print | sort | sed "s,^$PREFIX/,," | tr "\n" " "` set +f # re-enable globbing -- cgit v1.2.3