about summary refs log tree commit diff
path: root/src/ci/docker/dist-i686-linux/build-python.sh
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-11-14 16:52:11 +0100
committerGitHub <noreply@github.com>2017-11-14 16:52:11 +0100
commit529bb320f7d1c3a049fe5fe8d2542da4fb394dce (patch)
treeb508e06b0984d988b95f2992193a4f7ec0f4b670 /src/ci/docker/dist-i686-linux/build-python.sh
parentd0b11b9bd1c36b9012612fc63bcf3424071ebf97 (diff)
parentde8c57cb24da2685f06e80103936456a883ff203 (diff)
downloadrust-529bb320f7d1c3a049fe5fe8d2542da4fb394dce.tar.gz
rust-529bb320f7d1c3a049fe5fe8d2542da4fb394dce.zip
Rollup merge of #45961 - dereckson:unix-agnosticity-ci, r=Mark-Simulacrum
Use #!/usr/bin/env as shebang for Bash scripts

On some systems, the bash command could be available in another
directory than /bin. As such, to offer an env shebang is more
convenient.

This make sense even for docker scripts, as you can use Docker
on FreeBSD or SmartOS for example.
Diffstat (limited to 'src/ci/docker/dist-i686-linux/build-python.sh')
-rwxr-xr-xsrc/ci/docker/dist-i686-linux/build-python.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/docker/dist-i686-linux/build-python.sh b/src/ci/docker/dist-i686-linux/build-python.sh
index a7a450f3c8d..c6b8cdde4b9 100755
--- a/src/ci/docker/dist-i686-linux/build-python.sh
+++ b/src/ci/docker/dist-i686-linux/build-python.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright 2017 The Rust Project Developers. See the COPYRIGHT
 # file at the top-level directory of this distribution and at
 # http://rust-lang.org/COPYRIGHT.