You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by el...@apache.org on 2017/01/11 22:17:22 UTC
[2/3] incubator-trafficcontrol git commit: Add TM2 build.sh shebang
Add TM2 build.sh shebang
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/7398ba3f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/7398ba3f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/7398ba3f
Branch: refs/heads/master
Commit: 7398ba3fae06e6dc63ffc8d95ad69ec45fcccfdc
Parents: 2ca15d8
Author: Robert Butts <ro...@gmail.com>
Authored: Wed Jan 11 15:06:20 2017 -0700
Committer: Jeff Elsloo <je...@cable.comcast.com>
Committed: Wed Jan 11 15:16:36 2017 -0700
----------------------------------------------------------------------
traffic_monitor/experimental/traffic_monitor/build.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7398ba3f/traffic_monitor/experimental/traffic_monitor/build.sh
----------------------------------------------------------------------
diff --git a/traffic_monitor/experimental/traffic_monitor/build.sh b/traffic_monitor/experimental/traffic_monitor/build.sh
index e8b09e2..baf07cc 100755
--- a/traffic_monitor/experimental/traffic_monitor/build.sh
+++ b/traffic_monitor/experimental/traffic_monitor/build.sh
@@ -5,13 +5,14 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
+#!/usr/bin/env bash
go build -ldflags "-X main.GitRevision=`git rev-parse HEAD` -X main.BuildTimestamp=`date +'%Y-%M-%dT%H:%M:%S'`"