You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ad...@apache.org on 2017/04/28 00:31:15 UTC

kudu git commit: thirdparty: fix typo in SPARSEHASH_PATCHLEVEL

Repository: kudu
Updated Branches:
  refs/heads/master 9beedf965 -> 7b582a896


thirdparty: fix typo in SPARSEHASH_PATCHLEVEL

I briefly experimented with using "set -o nounset" to prevent these problems
in the future, but we make use of undefined variables too much for it to be
an easy addition.

Change-Id: Icbee25d01cdc16efdcadb7d897b134a7a3df2a43
Reviewed-on: http://gerrit.cloudera.org:8080/6754
Reviewed-by: Dan Burkert <da...@apache.org>
Tested-by: Adar Dembo <ad...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/7b582a89
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/7b582a89
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/7b582a89

Branch: refs/heads/master
Commit: 7b582a8969c1e67b24e1a81bc6f1490f6338d53a
Parents: 9beedf9
Author: Adar Dembo <ad...@cloudera.com>
Authored: Thu Apr 27 16:58:35 2017 -0700
Committer: Adar Dembo <ad...@cloudera.com>
Committed: Fri Apr 28 00:31:02 2017 +0000

----------------------------------------------------------------------
 thirdparty/download-thirdparty.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/7b582a89/thirdparty/download-thirdparty.sh
----------------------------------------------------------------------
diff --git a/thirdparty/download-thirdparty.sh b/thirdparty/download-thirdparty.sh
index aa53960..8a61d52 100755
--- a/thirdparty/download-thirdparty.sh
+++ b/thirdparty/download-thirdparty.sh
@@ -305,13 +305,13 @@ if [ ! -d "$BREAKPAD_SOURCE" ]; then
   fetch_and_expand breakpad-${BREAKPAD_VERSION}.tar.gz
 fi
 
-SPARSEHASH_PATCHLAVEL=2
+SPARSEHASH_PATCHLEVEL=2
 delete_if_wrong_patchlevel $SPARSEHASH_SOURCE $SPARSEHASH_PATCHLEVEL
 if [ ! -d "$SPARSEHASH_SOURCE" ]; then
   fetch_and_expand sparsehash-c11-${SPARSEHASH_VERSION}.tar.gz
   pushd $SPARSEHASH_SOURCE
   patch -p1 < $TP_DIR/patches/sparsehash-0001-Add-compatibily-for-gcc-4.x-in-traits.patch
-  touch patchlevel-$SPARSEHASH_PATCHLAVEL
+  touch patchlevel-$SPARSEHASH_PATCHLEVEL
   popd
 fi