You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@htrace.apache.org by cm...@apache.org on 2014/12/18 00:15:43 UTC

incubator-htrace git commit: HTRACE-21. Fix invalid test condition in gobulid.sh (iwasakims via cmccabe)

Repository: incubator-htrace
Updated Branches:
  refs/heads/master 36bec4580 -> d84df8f33


HTRACE-21. Fix invalid test condition in gobulid.sh (iwasakims via cmccabe)


Project: http://git-wip-us.apache.org/repos/asf/incubator-htrace/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-htrace/commit/d84df8f3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-htrace/tree/d84df8f3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-htrace/diff/d84df8f3

Branch: refs/heads/master
Commit: d84df8f33bfb7cbca4308f79f31fb625b23467b0
Parents: 36bec45
Author: Colin P. Mccabe <cm...@apache.org>
Authored: Wed Dec 17 15:12:45 2014 -0800
Committer: Colin P. Mccabe <cm...@apache.org>
Committed: Wed Dec 17 15:15:28 2014 -0800

----------------------------------------------------------------------
 htrace-core/src/go/gobuild.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-htrace/blob/d84df8f3/htrace-core/src/go/gobuild.sh
----------------------------------------------------------------------
diff --git a/htrace-core/src/go/gobuild.sh b/htrace-core/src/go/gobuild.sh
index cf56dcf..c0b2268 100755
--- a/htrace-core/src/go/gobuild.sh
+++ b/htrace-core/src/go/gobuild.sh
@@ -71,7 +71,7 @@ else
     which ldconfig &> /dev/null
     [ $? -eq 0 ] && ldconfig=ldconfig
 fi
-if [ -v ldconfig ]; then
+if [ -n "${ldconfig}" ]; then
     if "${ldconfig}" -p | grep -q libleveldb; then
         :
     else