Skip to content
Snippets Groups Projects
Commit 55c03cd2 authored by bors's avatar bors
Browse files

Auto merge of #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.
parents 9e59cf98 97a81d79
No related branches found
No related tags found
No related merge requests found
#!/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.
......
#!/bin/bash
#!/bin/sh
set -e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment