Explorar o código

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 <[email protected]>
Ilya Katsnelson %!s(int64=3) %!d(string=hai) anos
pai
achega
21dfd7289b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/bc/patches/002-fix-libmath.patch

+ 1 - 1
tools/bc/patches/002-fix-libmath.patch

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