Przeglądaj źródła

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 3 lat temu
rodzic
commit
21dfd7289b
1 zmienionych plików z 1 dodań i 1 usunięć
  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/^/"/'  \