From 21dfd7289b72fefd8d97c89a08ad7c3e0fb791af Mon Sep 17 00:00:00 2001 From: Ilya Katsnelson Date: Thu, 8 Sep 2022 12:04:05 +0300 Subject: [PATCH] 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 --- tools/bc/patches/002-fix-libmath.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/^/"/' \