aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/install-template-shebang.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-11-25 22:55:01 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-11-25 22:56:34 +0100
commitffb9969bbf5e534e7693e92dac11eb06cab6b457 (patch)
treeb2cdacb57dd0e77cd37e662a9d2032bbe19c5c78 /community/rust/install-template-shebang.patch
parent07bfc35e9ce6118bad6f42a2a2d0b8ab513aa0db (diff)
downloadaports-ffb9969bbf5e534e7693e92dac11eb06cab6b457.tar.bz2
aports-ffb9969bbf5e534e7693e92dac11eb06cab6b457.tar.xz
community/rust: remove dependency on bash
Diffstat (limited to 'community/rust/install-template-shebang.patch')
-rw-r--r--community/rust/install-template-shebang.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/rust/install-template-shebang.patch b/community/rust/install-template-shebang.patch
new file mode 100644
index 0000000000..e81b579a84
--- /dev/null
+++ b/community/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.