From: Thomas Weißschuh Date: Fri, 5 May 2023 09:11:23 +0000 (+0200) Subject: po-man: fix quoting in comparision to skip nonexisting translations X-Git-Tag: v2.39~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03f889971b06d6fe37f27f43c465e21dfedc67b0;p=thirdparty%2Futil-linux.git po-man: fix quoting in comparision to skip nonexisting translations Signed-off-by: Thomas Weißschuh --- 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|^.*/||'`; \