about summary refs log tree commit diff
path: root/src/etc/test-float-parse
diff options
context:
space:
mode:
authorSébastien Santoro <dereckson@espace-win.org>2017-11-13 13:48:26 +0000
committerSébastien Santoro <dereckson@espace-win.org>2017-12-02 01:03:59 +0000
commita4b4a733285259261f421ae7de42399315a7ec94 (patch)
tree12fd1ef8ed0a6d697a6c0b780e46027466b38ee2 /src/etc/test-float-parse
parent70517540dad71801a2ab903fb91d3e0c7406f115 (diff)
downloadrust-a4b4a733285259261f421ae7de42399315a7ec94.tar.gz
rust-a4b4a733285259261f421ae7de42399315a7ec94.zip
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.
Diffstat (limited to 'src/etc/test-float-parse')
-rw-r--r--src/etc/test-float-parse/runtests.py2
1 files changed, 1 insertions, 1 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