[packages/texlive/TEXLIVE_20080816] fix "sh: syntax error: unexpected '('" during file processing
atler
atler at pld-linux.org
Mon Jan 30 13:26:35 CET 2023
commit 12c8451588d643ceebd8d4d3afa6fba179507137
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Jan 30 13:22:07 2023 +0100
fix "sh: syntax error: unexpected '('" during file processing
%__noautodep_helper "reserves" use of apostrophes with echo '$*':
%__noautodep_helper() %(echo '%*' | awk 'BEGIN {
additionally escape parantheses as they should be treated literally
texlive.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/texlive.spec b/texlive.spec
index c16fede..36817ea 100644
--- a/texlive.spec
+++ b/texlive.spec
@@ -205,7 +205,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define fixinfodir [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 ;
%define fmtutil(f:) [ ! \\\( -f %{_localstatedir}/web2c/%{-f*}.fmt.rpmnew -o -f %{_localstatedir}/web2c/%{-f*}.efmt.rpmnew \\\) ] || %{_bindir}/fmtutil-sys --byfmt %{-f*} >/dev/null 2>/dev/null || echo "Regenerating %{-f*} failed. See %{_localstatedir}/web2c/%{-f*}.log for details" 1>&2 && exit 0 ;
-%define _noautoreq 'perl(path_tre)'
+%define _noautoreq perl\\(path_tre\\)
%description
TeXLive is an implementation of TeX for Linux or UNIX systems. TeX
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/texlive.git/commitdiff/12c8451588d643ceebd8d4d3afa6fba179507137
More information about the pld-cvs-commit
mailing list