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:
Ilya Katsnelson 2022-09-08 12:04:05 +03:00 committed by Christian Marangi
parent c3e4a0d99b
commit 21dfd7289b
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -10,7 +10,7 @@
-w
-q
-EOS-EOS
+#! /bin/bash
+#!/usr/bin/env bash
+sed -e '1 s/^/{"/' \
+ -e 's/$/",/' \
+ -e '2,$ s/^/"/' \