trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dang...@apache.org
Subject [2/3] incubator-trafficcontrol git commit: if not in git tree, no tarball
Date Mon, 28 Nov 2016 20:02:57 GMT
if not in git tree, no tarball

(cherry picked from commit 5911d404d46a78926626d0f781caff926f7b6ce9)


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

Branch: refs/heads/1.8.x
Commit: 7fa7baf98102ff780f83fef9105ede12a8c9b536
Parents: 0c7d8f4
Author: Dan Kirkwood <dangogh@gmail.com>
Authored: Fri Nov 11 18:41:11 2016 -0700
Committer: Dan Kirkwood <dangogh@gmail.com>
Committed: Mon Nov 28 13:00:14 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7fa7baf9/build/functions.sh
----------------------------------------------------------------------
diff --git a/build/functions.sh b/build/functions.sh
index cd17330..7df42f5 100755
--- a/build/functions.sh
+++ b/build/functions.sh
@@ -58,7 +58,7 @@ function isInGitTree() {
 function getBuildNumber() {
 	local in_git=$()
 	if isInGitTree; then
-		local commits=$(git rev-list HEAD 2>/dev/null | wc -l)
+		local commits=$(getRevCount)
 		local sha=$(git rev-parse --short=8 HEAD)
 		echo "$commits.$sha"
 	else


Mime
View raw message