diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2013-09-19 17:35:27 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-09-19 17:35:27 +0100 |
commit | e2f33e41d5f22540f30c39fa1334709566b31a87 (patch) | |
tree | dcb7e08f6984f1b630cd9c33718ffc25bed1b3f9 /autogen.sh | |
parent | 926e2fa93b7c9ba4a9edd1a5fb96bd0273599d2b (diff) |
Automatic update of common submodule
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh index 95e1bfaef..93f88d49b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -88,12 +88,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 |