diff options
author | Matt Ellis <matell@microsoft.com> | 2015-02-03 18:08:38 -0800 |
---|---|---|
committer | Matt Ellis <matell@microsoft.com> | 2015-02-03 18:08:38 -0800 |
commit | fcae74d1123282fa7d9469e707973a90a49836ab (patch) | |
tree | d61149843c43df5f7009b450128383fe301d2449 /src | |
parent | 2a956c5fb7a73c364c0c264c4d2ec29493542528 (diff) | |
download | coreclr-fcae74d1123282fa7d9469e707973a90a49836ab.tar.gz coreclr-fcae74d1123282fa7d9469e707973a90a49836ab.tar.bz2 coreclr-fcae74d1123282fa7d9469e707973a90a49836ab.zip |
Move shebang to top of shell scripts
This line should be at the top of the file, not after
comments. Otherwise the correct shell is not picked in some cases
(like when you the scripts file via sudo).
Diffstat (limited to 'src')
-rwxr-xr-x | src/pal/tests/palsuite/runpaltests.sh | 2 | ||||
-rwxr-xr-x | src/pal/tools/gen-buildsys-clang.sh | 2 | ||||
-rwxr-xr-x | src/pal/tools/setup-compiler-clang.sh | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/pal/tests/palsuite/runpaltests.sh b/src/pal/tests/palsuite/runpaltests.sh index d35f262987..5a36de64cc 100755 --- a/src/pal/tests/palsuite/runpaltests.sh +++ b/src/pal/tests/palsuite/runpaltests.sh @@ -1,7 +1,7 @@ +#!/bin/bash # # This script executes PAL tests from the specified build location. # -#!/bin/bash if [ $# -lt 1 -o $# -gt 3 ] then diff --git a/src/pal/tools/gen-buildsys-clang.sh b/src/pal/tools/gen-buildsys-clang.sh index 92a92cd6d6..723fc1d0e0 100755 --- a/src/pal/tools/gen-buildsys-clang.sh +++ b/src/pal/tools/gen-buildsys-clang.sh @@ -1,7 +1,7 @@ +#!/bin/bash # # This file invokes cmake and generates the build system for gcc. # -#!/bin/bash if [ $# -lt 1 -o $# -gt 2 ] then diff --git a/src/pal/tools/setup-compiler-clang.sh b/src/pal/tools/setup-compiler-clang.sh index 0eaa0d09a3..4f85f5866d 100755 --- a/src/pal/tools/setup-compiler-clang.sh +++ b/src/pal/tools/setup-compiler-clang.sh @@ -1,8 +1,7 @@ +#!/bin/bash # # This file sets the environment to be used for building with clang. # -#!/bin/bash - export CC=/usr/bin/clang export CXX=/usr/bin/clang++ |