summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2015-03-10 10:05:15 -0700
committerMatt Mitchell <mmitche@microsoft.com>2015-03-10 10:05:15 -0700
commitad5827e25213a79f414f1439f1b0532a643e3901 (patch)
tree98496fb48140539a462a66c1ef59a75b6666a82e
parent76230d94aa5b83a95d826c691d572b8010d1ff31 (diff)
parentb10e8b341bd9ef8da101bd96437a1e539aecd9bc (diff)
downloadcoreclr-ad5827e25213a79f414f1439f1b0532a643e3901.tar.gz
coreclr-ad5827e25213a79f414f1439f1b0532a643e3901.tar.bz2
coreclr-ad5827e25213a79f414f1439f1b0532a643e3901.zip
Merge pull request #416 from janhenke/master
Do not hardcode path to bash into the shell scripts.
-rwxr-xr-xbuild.sh2
-rwxr-xr-xsrc/pal/tools/gen-buildsys-clang.sh2
-rwxr-xr-xsrc/pal/tools/setup-compiler-clang.sh2
-rwxr-xr-xsrc/pal/tools/setup-ubuntuvm.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index ce2c3e5746..f1d6d83626 100755
--- a/build.sh
+++ b/build.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
usage()
{
diff --git a/src/pal/tools/gen-buildsys-clang.sh b/src/pal/tools/gen-buildsys-clang.sh
index 43d0065685..321248ce1c 100755
--- a/src/pal/tools/gen-buildsys-clang.sh
+++ b/src/pal/tools/gen-buildsys-clang.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# This file invokes cmake and generates the build system for gcc.
#
diff --git a/src/pal/tools/setup-compiler-clang.sh b/src/pal/tools/setup-compiler-clang.sh
index 15427b797d..56b75f6a25 100755
--- a/src/pal/tools/setup-compiler-clang.sh
+++ b/src/pal/tools/setup-compiler-clang.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# This file sets the environment to be used for building with clang.
#
diff --git a/src/pal/tools/setup-ubuntuvm.sh b/src/pal/tools/setup-ubuntuvm.sh
index 1211202098..89d8ea37b2 100755
--- a/src/pal/tools/setup-ubuntuvm.sh
+++ b/src/pal/tools/setup-ubuntuvm.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
echo Installing basic Ubuntu \(VM\) XPlat environment