From 0142d38b69342682bae6835e079271874f20142a Mon Sep 17 00:00:00 2001 From: kailiu Date: Wed, 20 Nov 2013 01:17:44 -0800 Subject: [PATCH] fix issue #11 URL: https://github.com/facebook/rocksdb/issues/11 --- build_tools/build_detect_version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/build_detect_version b/build_tools/build_detect_version index ae9e39174..eef905d8e 100755 --- a/build_tools/build_detect_version +++ b/build_tools/build_detect_version @@ -15,7 +15,7 @@ trap "rm $VFILE" EXIT which git > /dev/null if [ "$?" = 0 ]; then - env -i git rev-parse HEAD | + env -i git rev-parse HEAD 2>&1 | awk ' BEGIN { print "#include \"build_version.h\"\n"