Skip to content

Commit a4b4a73

Browse files
committed
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. Same applies for other languages' interpreters.
1 parent 7051754 commit a4b4a73

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/etc/test-float-parse/runtests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.7
1+
#!/usr/bin/env python2.7
22
#
33
# Copyright 2015 The Rust Project Developers. See the COPYRIGHT
44
# file at the top-level directory of this distribution and at

src/test/ui/update-all-references.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# Copyright 2015 The Rust Project Developers. See the COPYRIGHT
44
# file at the top-level directory of this distribution and at

src/test/ui/update-references.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# Copyright 2015 The Rust Project Developers. See the COPYRIGHT
44
# file at the top-level directory of this distribution and at

0 commit comments

Comments
 (0)