Skip to content

Commit 55c03cd

Browse files
committed
Auto merge of rust-lang#844 - dereckson:unix-agnosticity, r=malbarbo
Use more convenient and UNIX-agnostic shebang Pure sh scripts should use /bin/sh as it's available on every platform. When using bash-specific features, use env to find it, as bash can be installed in different places according the OS.
2 parents 9e59cf9 + 97a81d7 commit 55c03cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/emscripten-entry.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Copyright 2017 The Rust Project Developers. See the COPYRIGHT
33
# file at the top-level directory of this distribution and at
44
# http://rust-lang.org/COPYRIGHT.

ci/test-runner-linux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
set -e
44

0 commit comments

Comments
 (0)