From: Dan Fandrich Date: Wed, 14 Oct 2009 05:58:35 +0000 (-0700) Subject: Fixed an inverted logic condition that prevented the bug X-Git-Tag: libexif-0_6_21-release~92 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2200ad5a702472618a04e80016a3b34b3522bf80;p=platform%2Fupstream%2Flibexif.git Fixed an inverted logic condition that prevented the bug report address from appearing in the .pot file --- diff --git a/ChangeLog b/ChangeLog index 0bf2f67..79adf5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ * po/sv.po: Updated Swedish translation by Daniel Nylander * po/vi.po: Updated Vietnamese translation by Clytie Siddall + * Fixed an inverted logic condition that prevented the bug + report address from appearing in the .pot file 2009-10-09 Dan Fandrich diff --git a/m4m/gp-gettext-hack.m4 b/m4m/gp-gettext-hack.m4 index 439822b..0c6635a 100644 --- a/m4m/gp-gettext-hack.m4 +++ b/m4m/gp-gettext-hack.m4 @@ -31,6 +31,8 @@ AC_SUBST([GETTEXT_PACKAGE]) sed_cmds="s|^DOMAIN.*|DOMAIN = ${GETTEXT_PACKAGE}|" m4_if([$2],[],[],[sed_cmds="${sed_cmds};s|^COPYRIGHT_HOLDER.*|COPYRIGHT_HOLDER = $2|"]) m4_ifval([$3],[ +sed_mb="$3" +],[ if test -n "$PACKAGE_BUGREPORT"; then sed_mb="${PACKAGE_BUGREPORT}" else @@ -41,8 +43,6 @@ else *** ]) fi -],[ -sed_mb="$3" ]) sed_cmds="${sed_cmds};s|^MSGID_BUGS_ADDRESS.*|MSGID_BUGS_ADDRESS = ${sed_mb}|" # Not so sure whether this hack is all *that* evil...