aboutsummaryrefslogtreecommitdiff
path: root/build_detect_platform
diff options
context:
space:
mode:
authorsanjay@google.com <sanjay@google.com@62dab493-f737-651d-591e-8d6aee1b9529>2012-12-27 18:43:59 +0000
committersanjay@google.com <sanjay@google.com@62dab493-f737-651d-591e-8d6aee1b9529>2012-12-27 18:43:59 +0000
commita842f7ed2aff4593fb6d455fedc3d6724868be5a (patch)
treed8185eea7f2ba4f2cbac0e4acf1eb33f93275e42 /build_detect_platform
parentb0edd034dee25db7a3e42243b95c66eaf95e8a81 (diff)
downloadsrc-a842f7ed2aff4593fb6d455fedc3d6724868be5a.tar.gz
added utility to dump leveldb files
git-svn-id: http://leveldb.googlecode.com/svn/trunk@70 62dab493-f737-651d-591e-8d6aee1b9529
Diffstat (limited to 'build_detect_platform')
-rw-r--r--build_detect_platform3
1 files changed, 2 insertions, 1 deletions
diff --git a/build_detect_platform b/build_detect_platform
index 7cdb793..5801d20 100644
--- a/build_detect_platform
+++ b/build_detect_platform
@@ -141,7 +141,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