From: Robert Pluim Date: Thu, 17 Aug 2023 10:15:44 +0000 (+0200) Subject: Escape braces in regexp in make-info-dir X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~4564 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=39e0121354c25919c20786782da0c5f1952278a8;p=emacs.git Escape braces in regexp in make-info-dir This fixes a build failure on Alpine Linux. * build-aux/make-info-dir (detexinfo): Escape the braces, since some awk variants (such as BusyBox's) don't like regexp interval specifications that aren't numbers. Bug#65323 --- diff --git a/build-aux/make-info-dir b/build-aux/make-info-dir index 3490b7a31f9..64cf2d43f16 100755 --- a/build-aux/make-info-dir +++ b/build-aux/make-info-dir @@ -38,7 +38,7 @@ shift exec "${AWK-awk}" ' function detexinfo() { - gsub(/@value{emacsname}/, "Emacs") + gsub(/@value\{emacsname\}/, "Emacs") gsub(/@[^{]*\{/, "") gsub(/}/, "") }