diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-12-03 17:43:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-03 17:43:43 -0500 |
| commit | 82ee2094927dbf969a9b37582e54c1fdf6358b17 (patch) | |
| tree | 0475bcdd83e7352bd37c4e42798b487b90fefd64 | |
| parent | f2b11f30b2946119c23594bc2b3bec3c38d3ae9a (diff) | |
| parent | a4b4a733285259261f421ae7de42399315a7ec94 (diff) | |
| download | rust-82ee2094927dbf969a9b37582e54c1fdf6358b17.tar.gz rust-82ee2094927dbf969a9b37582e54c1fdf6358b17.zip | |
Rollup merge of #45957 - dereckson:unix-agnosticity, r=shepmaster
Use more convenient and UNIX-agnostic shebang When using bash-specific features, scripts using env to call bash are more convenient, as bash be installed in different places according the OS.
| -rw-r--r-- | src/etc/test-float-parse/runtests.py | 2 | ||||
| -rwxr-xr-x | src/test/ui/update-all-references.sh | 2 | ||||
| -rwxr-xr-x | src/test/ui/update-references.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/test-float-parse/runtests.py b/src/etc/test-float-parse/runtests.py index 75c92b9b15c..d520c9bd5c3 100644 --- a/src/etc/test-float-parse/runtests.py +++ b/src/etc/test-float-parse/runtests.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2.7 +#!/usr/bin/env python2.7 # # Copyright 2015 The Rust Project Developers. See the COPYRIGHT # file at the top-level directory of this distribution and at diff --git a/src/test/ui/update-all-references.sh b/src/test/ui/update-all-references.sh index ddd69c399a5..bfc6f923f9d 100755 --- a/src/test/ui/update-all-references.sh +++ b/src/test/ui/update-all-references.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Copyright 2015 The Rust Project Developers. See the COPYRIGHT # file at the top-level directory of this distribution and at diff --git a/src/test/ui/update-references.sh b/src/test/ui/update-references.sh index aa99d35f7aa..b9ded7d1e95 100755 --- a/src/test/ui/update-references.sh +++ b/src/test/ui/update-references.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Copyright 2015 The Rust Project Developers. See the COPYRIGHT # file at the top-level directory of this distribution and at |
