From c332ef3c21314128d45fd7c70513121f5e434c47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 18 Jun 2013 13:04:20 +0100 Subject: [PATCH] autogen.sh.in: fix for modules that have no po/ directory --- autogen.sh.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/autogen.sh.in b/autogen.sh.in index dae5f7f..5a1da2d 100755 --- a/autogen.sh.in +++ b/autogen.sh.in @@ -79,12 +79,14 @@ toplevel_check $srcfile # autopoint # first remove patch if necessary, then run autopoint, then reapply -if test -f po/Makefile.in.in; -then - patch -p0 -R --forward < common/gettext.patch +if test -d po ; then + if test -f po/Makefile.in.in; + then + patch -p0 -R --forward < common/gettext.patch + fi + tool_run "$autopoint" "--force" "patch -p0 < common/gettext.patch" + patch -p0 < common/gettext.patch fi -tool_run "$autopoint" "--force" "patch -p0 < common/gettext.patch" -patch -p0 < common/gettext.patch # aclocal if test -f acinclude.m4; then rm acinclude.m4; fi -- 2.7.4