From 03f889971b06d6fe37f27f43c465e21dfedc67b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Fri, 5 May 2023 11:11:23 +0200 Subject: [PATCH] po-man: fix quoting in comparision to skip nonexisting translations MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Weißschuh --- po-man/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po-man/Makefile.am b/po-man/Makefile.am index 12d1e92ead..e9952a1f7c 100644 --- a/po-man/Makefile.am +++ b/po-man/Makefile.am @@ -43,7 +43,7 @@ gen-mans: gen-trans for l in $(PO_LANGS); do \ gendir="$(abs_builddir)/$$l"; \ genfiles=`echo $${gendir}/*.adoc`; \ - if test "$$genfiles" != '$${gendir}/*.adoc'; then \ + if test "$$genfiles" != "$${gendir}/*.adoc"; then \ for file in $${genfiles}; do \ manname=`echo $$file | sed -e 's|^.*/||' -e 's|\.adoc||'`; \ test -f $${gendir}/$${manname} || { \ @@ -68,7 +68,7 @@ install-data-local: gen-mans mansrcdir="$(abs_builddir)/$$l"; \ for s in $(MAN_SECTIONS); do \ installfiles=`echo $${mansrcdir}/*.$$s`; \ - if test "$$installfiles" != '$${mansrcdir}/*.$$s'; then \ + if test "$$installfiles" != "$${mansrcdir}/*.$$s"; then \ installdir="$(DESTDIR)$(mandir)/$$l/man$$s"; \ $(MKDIR_P) "$${installdir}" || exit 1; \ for file in $$installfiles; do \ @@ -85,7 +85,7 @@ uninstall-local: mansrcdir="$(abs_builddir)/$$l"; \ for s in $(MAN_SECTIONS); do \ installfiles=`echo $${mansrcdir}/*.$$s`; \ - if test "$$installfiles" != '$${mansrcdir}/*.$$s'; then \ + if test "$$installfiles" != "$${mansrcdir}/*.$$s"; then \ installdir="$(DESTDIR)$(mandir)/$$l/man$$s"; \ for file in $$installfiles; do \ manname=`echo $$file | sed -e 's|^.*/||'`; \ -- 2.47.3