From de8c57cb24da2685f06e80103936456a883ff203 Mon Sep 17 00:00:00 2001 From: Sébastien Santoro Date: Mon, 13 Nov 2017 14:33:12 +0000 Subject: 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. --- src/ci/docker/dist-i686-linux/build-python.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ci/docker/dist-i686-linux/build-python.sh') 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. -- cgit 1.4.1-3-g733a5