diff options
author | Mattias Andrée <maandree@kth.se> | 2023-12-07 22:51:52 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-12-07 22:51:52 +0100 |
commit | 9f449569df9c94670f51fd8cd5558b66884cd877 (patch) | |
tree | 21d3c31e22b2cd0544351584c8614e70b66826e4 /config-figure-this-out-for-me.mk | |
parent | Fourth commit (diff) | |
download | libsyscalls-9f449569df9c94670f51fd8cd5558b66884cd877.tar.gz libsyscalls-9f449569df9c94670f51fd8cd5558b66884cd877.tar.bz2 libsyscalls-9f449569df9c94670f51fd8cd5558b66884cd877.tar.xz |
Improve portability
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | config-figure-this-out-for-me.mk | 3 |
1 files changed, 2 insertions, 1 deletions
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; \ |