You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2016/11/30 16:05:32 UTC

[2/3] incubator-trafficcontrol git commit: cd to traffic_router prior to setting version

cd to traffic_router prior to setting version

(cherry picked from commit 3003a304cf34c255ca0e6381f8b60d1bce392d47)


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

Branch: refs/heads/1.8.x
Commit: c1e1af2702f6a581d18af5840b149b0eb0a3999b
Parents: b32c990
Author: Dan Kirkwood <da...@gmail.com>
Authored: Tue Nov 29 22:39:40 2016 +0000
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Wed Nov 30 16:05:01 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c1e1af27/traffic_router/build/build_rpm.sh
----------------------------------------------------------------------
diff --git a/traffic_router/build/build_rpm.sh b/traffic_router/build/build_rpm.sh
index 43d6943..20d3910 100755
--- a/traffic_router/build/build_rpm.sh
+++ b/traffic_router/build/build_rpm.sh
@@ -117,7 +117,7 @@ function initBuildArea() {
 
 	export MVN_CMD="mvn versions:set -DnewVersion=$TRAFFIC_CONTROL_VERSION"
 	echo $MVN_CMD
-	$MVN_CMD
+	(cd $TR_DIR; $MVN_CMD)
 	cp -r "$TR_DIR"/{build,connector,core} "$tr_dest"/. || { echo "Could not copy to $tr_dest: $?"; exit 1; }
 	cp  "$TR_DIR"/pom.xml "$tr_dest" || { echo "Could not copy to $tr_dest: $?"; exit 1; }