You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by dg...@apache.org on 2018/11/03 22:41:21 UTC

[trafficcontrol] branch 3.0.x updated: fix grove and grovetccfg build from tarball

This is an automated email from the ASF dual-hosted git repository.

dgelinas pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/3.0.x by this push:
     new 06d7f9d  fix grove and grovetccfg build from tarball
06d7f9d is described below

commit 06d7f9d4c84e80c4d09444675ff9bc5f12d8ab8a
Author: Dan Kirkwood <da...@apache.org>
AuthorDate: Fri Nov 2 08:56:17 2018 -0600

    fix grove and grovetccfg build from tarball
    
    (cherry picked from commit 2243abd6d6e3119b6379402ef84964a3f9e25137)
---
 grove/build/build_rpm.sh            | 1 -
 grove/grovetccfg/build/build_rpm.sh | 1 -
 2 files changed, 2 deletions(-)

diff --git a/grove/build/build_rpm.sh b/grove/build/build_rpm.sh
index e7a430c..83c4d39 100755
--- a/grove/build/build_rpm.sh
+++ b/grove/build/build_rpm.sh
@@ -14,7 +14,6 @@
 
 #----------------------------------------
 function importFunctions() {
-	TC_DIR=$(git rev-parse --show-toplevel)
 	[ ! -z "$TC_DIR" ] || { echo "Cannot find repository root." >&2 ; exit 1; }
 	export TC_DIR
 	functions_sh="$TC_DIR/build/functions.sh"
diff --git a/grove/grovetccfg/build/build_rpm.sh b/grove/grovetccfg/build/build_rpm.sh
index 223e72d..799ee36 100755
--- a/grove/grovetccfg/build/build_rpm.sh
+++ b/grove/grovetccfg/build/build_rpm.sh
@@ -14,7 +14,6 @@
 
 #----------------------------------------
 function importFunctions() {
-	TC_DIR=$(git rev-parse --show-toplevel)
 	[ ! -z "$TC_DIR" ] || { echo "Cannot find repository root." >&2 ; exit 1; }
 	export TC_DIR
 	functions_sh="$TC_DIR/build/functions.sh"