You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by da...@apache.org on 2017/04/24 22:41:45 UTC

kudu git commit: thirdparty: fix git workspace compatibility

Repository: kudu
Updated Branches:
  refs/heads/master 370815658 -> 21f5ae0d5


thirdparty: fix git workspace compatibility

.git in workspaces is a normal file.

Change-Id: Ibce5dea8e10a39fffc9d8ee5286a3390d353c82d
Reviewed-on: http://gerrit.cloudera.org:8080/6721
Reviewed-by: Todd Lipcon <to...@apache.org>
Tested-by: Kudu Jenkins


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

Branch: refs/heads/master
Commit: 21f5ae0d53f9e1a299529cb4c481634a0bdafbf1
Parents: 3708156
Author: Dan Burkert <da...@apache.org>
Authored: Mon Apr 24 14:43:46 2017 -0700
Committer: Dan Burkert <da...@apache.org>
Committed: Mon Apr 24 22:41:30 2017 +0000

----------------------------------------------------------------------
 thirdparty/build-if-necessary.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/21f5ae0d/thirdparty/build-if-necessary.sh
----------------------------------------------------------------------
diff --git a/thirdparty/build-if-necessary.sh b/thirdparty/build-if-necessary.sh
index 03f06cd..ea09380 100755
--- a/thirdparty/build-if-necessary.sh
+++ b/thirdparty/build-if-necessary.sh
@@ -50,7 +50,7 @@ cd $TP_DIR
 NEEDS_BUILD=
 NEEDS_REHASH=
 
-IS_IN_GIT=$(test -d ../.git && echo true || :)
+IS_IN_GIT=$(test -e ../.git && echo true || :)
 
 if [ -n "$IS_IN_GIT" ]; then
   # Determine whether this subtree in the git repo has changed since thirdparty