From 9f449569df9c94670f51fd8cd5558b66884cd877 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 7 Dec 2023 22:51:52 +0100 Subject: Improve portability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- config-figure-this-out-for-me.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config-figure-this-out-for-me.mk') diff --git a/config-figure-this-out-for-me.mk b/config-figure-this-out-for-me.mk index 8da5ff9..60a24de 100644 --- a/config-figure-this-out-for-me.mk +++ b/config-figure-this-out-for-me.mk @@ -6,7 +6,8 @@ BASECONFIG !=\ else \ rm -f -- .config.mk.tmp; \ (set -e; \ - sed 's/^\s*DOWNLOAD\s*=/\x23&/' < config.mk; \ + e="$$(printf '\033\n')"; \ + sed 's/^[[:space:]]*DOWNLOAD[[:space:]]*=/'"$$e"'&/' < config.mk; \ for testscript in */what-architecture-am-i-using; do \ if test "$$testscript" = "util/what-architecture-am-i-using"; then \ continue; \ -- cgit v1.2.3-70-g09d2