瀏覽代碼

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 年之前
父節點
當前提交
21dfd7289b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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/^/"/'  \