diff options
author | Ilya Katsnelson <me@0upti.me> | 2022-09-08 12:04:05 +0300 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-09-14 00:06:15 +0200 |
commit | 21dfd7289b72fefd8d97c89a08ad7c3e0fb791af (patch) | |
tree | b8be02c742fcfcf7ded5e4bce1ec1744256b3101 /tools/bc/patches | |
parent | c3e4a0d99b972b91dd65f535365b9b71fcb541ae (diff) | |
download | upstream-21dfd7289b72fefd8d97c89a08ad7c3e0fb791af.tar.gz upstream-21dfd7289b72fefd8d97c89a08ad7c3e0fb791af.tar.bz2 upstream-21dfd7289b72fefd8d97c89a08ad7c3e0fb791af.zip |
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>
Diffstat (limited to 'tools/bc/patches')
-rw-r--r-- | tools/bc/patches/002-fix-libmath.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bc/patches/002-fix-libmath.patch b/tools/bc/patches/002-fix-libmath.patch index 1a8439542d..f2212f0953 100644 --- a/tools/bc/patches/002-fix-libmath.patch +++ b/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/^/"/' \ |