summaryrefslogtreecommitdiff
path: root/extra/patches/rustc/install-template-shebang.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/patches/rustc/install-template-shebang.patch')
-rw-r--r--extra/patches/rustc/install-template-shebang.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/patches/rustc/install-template-shebang.patch b/extra/patches/rustc/install-template-shebang.patch
new file mode 100644
index 0000000..e81b579
--- /dev/null
+++ b/extra/patches/rustc/install-template-shebang.patch
@@ -0,0 +1,10 @@
+The script seems to be POSIX-sh (+ local) compatible.
+
+--- a/src/tools/rust-installer/install-template.sh
++++ b/src/tools/rust-installer/install-template.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ # Copyright 2014 The Rust Project Developers. See the COPYRIGHT
+ # file at the top-level directory of this distribution and at
+ # http://rust-lang.org/COPYRIGHT.