You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by id...@apache.org on 2016/02/08 22:53:35 UTC

mesos git commit: Make bash scripts portable.

Repository: mesos
Updated Branches:
  refs/heads/master 921aa8084 -> 277565709


Make bash scripts portable.

Review: https://reviews.apache.org/r/42735/


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

Branch: refs/heads/master
Commit: 277565709c2aee48865092a3931ba68f3ea90c41
Parents: 921aa80
Author: David Forsythe <df...@gmail.com>
Authored: Mon Feb 8 13:52:32 2016 -0800
Committer: Ian Downes <id...@twitter.com>
Committed: Mon Feb 8 13:52:32 2016 -0800

----------------------------------------------------------------------
 support/atexit.sh        | 2 +-
 support/coverage.sh      | 2 +-
 support/docker_build.sh  | 2 +-
 support/hooks/commit-msg | 2 +-
 support/release.sh       | 2 +-
 support/tag.sh           | 2 +-
 support/vote.sh          | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/27756570/support/atexit.sh
----------------------------------------------------------------------
diff --git a/support/atexit.sh b/support/atexit.sh
index 90696a2..a4180bd 100755
--- a/support/atexit.sh
+++ b/support/atexit.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Provides an "atexit" mechanism for scripts.
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/27756570/support/coverage.sh
----------------------------------------------------------------------
diff --git a/support/coverage.sh b/support/coverage.sh
index df81f9a..7edfec2 100755
--- a/support/coverage.sh
+++ b/support/coverage.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 set -e
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/27756570/support/docker_build.sh
----------------------------------------------------------------------
diff --git a/support/docker_build.sh b/support/docker_build.sh
index 55d402e..e9b1d72 100755
--- a/support/docker_build.sh
+++ b/support/docker_build.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 set -xe
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/27756570/support/hooks/commit-msg
----------------------------------------------------------------------
diff --git a/support/hooks/commit-msg b/support/hooks/commit-msg
index d173dfd..51b22a0 100755
--- a/support/hooks/commit-msg
+++ b/support/hooks/commit-msg
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # A hook script to verify commit message format. Called by "git commit"
 # with one argument, the name of the file that has the commit message.

http://git-wip-us.apache.org/repos/asf/mesos/blob/27756570/support/release.sh
----------------------------------------------------------------------
diff --git a/support/release.sh b/support/release.sh
index 633bbac..725bee6 100755
--- a/support/release.sh
+++ b/support/release.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # This script should be used *after* a successful vote to publish a
 # release. In addition to publishing the source tarball to svn repo

http://git-wip-us.apache.org/repos/asf/mesos/blob/27756570/support/tag.sh
----------------------------------------------------------------------
diff --git a/support/tag.sh b/support/tag.sh
index 9d37c81..3136abe 100755
--- a/support/tag.sh
+++ b/support/tag.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # This script should be used to publish a local tag of the release
 # candidate to the Apache mesos repo. In addition this script also

http://git-wip-us.apache.org/repos/asf/mesos/blob/27756570/support/vote.sh
----------------------------------------------------------------------
diff --git a/support/vote.sh b/support/vote.sh
index 218a385..04bfc09 100755
--- a/support/vote.sh
+++ b/support/vote.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # This script should be used for calling a vote for a release candidate.
 # In addition to publishing the source tarball to svn repo this script