tools/bc: use more compatible shebang
Update the existing patch to use a shebang that works on systems that don't have a /bin/bash, e.g. NixOS or GuixSD. Signed-off-by: Ilya Katsnelson <me@0upti.me>
This commit is contained in:
parent
c3e4a0d99b
commit
21dfd7289b
@ -10,7 +10,7 @@
|
|||||||
-w
|
-w
|
||||||
-q
|
-q
|
||||||
-EOS-EOS
|
-EOS-EOS
|
||||||
+#! /bin/bash
|
+#!/usr/bin/env bash
|
||||||
+sed -e '1 s/^/{"/' \
|
+sed -e '1 s/^/{"/' \
|
||||||
+ -e 's/$/",/' \
|
+ -e 's/$/",/' \
|
||||||
+ -e '2,$ s/^/"/' \
|
+ -e '2,$ s/^/"/' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user