summaryrefslogtreecommitdiff
path: root/repo/rust/install-template-shebang.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/rust/install-template-shebang.patch')
-rw-r--r--repo/rust/install-template-shebang.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/repo/rust/install-template-shebang.patch b/repo/rust/install-template-shebang.patch
new file mode 100644
index 0000000..e81b579
--- /dev/null
+++ b/repo/rust/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.