aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/build_detect_platform
diff options
context:
space:
mode:
authorSanjay Ghemawat <sanjay@google.com>2012-12-27 10:38:48 -0800
committerGavin Andresen <gavinandresen@gmail.com>2013-01-23 14:00:29 -0500
commitf79ddf24a967a0043270b2999921550c6c366ec4 (patch)
tree2f4819b34a46cd15ef6b985a0d367d0b0cf3f77f /src/leveldb/build_detect_platform
parentb1024662eafddd5560fbfbac29333e5e967ca0f8 (diff)
downloadbitcoin-f79ddf24a967a0043270b2999921550c6c366ec4.tar.xz
added utility to dump leveldb files
Diffstat (limited to 'src/leveldb/build_detect_platform')
-rwxr-xr-xsrc/leveldb/build_detect_platform3
1 files changed, 2 insertions, 1 deletions
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