summaryrefslogtreecommitdiff
path: root/extra/patches/rustc/install-template-shebang.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-06 22:34:39 +0000
committerdavidovski <david@davidovski.xyz>2022-03-06 22:34:39 +0000
commit3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (patch)
tree61c86a7d065c0e15519ce810636b42197ce3f2c1 /extra/patches/rustc/install-template-shebang.patch
parent75e7bb9c72d562d397f9fb62072ab114cfbc6244 (diff)
added patches for rustc
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.