GNOME Bugzilla – Bug 739079
SET_PACKAGE_RELEASE_DATETIME fails to evaluate YYYY-MM-DD param
Last modified: 2015-10-31 12:43:42 UTC
Created attachment 289211 [details] [review] set of 3 patches fixing the issue There are 2 issues: 1) the grep patterns conflicts with M4 quotes 2) the 2 parameters invocation AG_GST_SET_PACKAGE_RELEASE_DATETIME([yes], ["YYYY-MM-DD"]) uses the first parameter in the grep pattern instead of the second. Moreover some comments does not reflect what the macro is supposed to do.
Thanks for the patches! commit b05b9cb537caadd9e34039037fe833b9d858fb9f Author: Sylvain Etienne <pudbou@gmail.com> Date: Thu Oct 23 15:45:34 2014 +0200 m4: bad parameter use in SET_PACKAGE_RELEASE_DATETIME the 2-parameter invocation: AG_GST_SET_PACKAGE_RELEASE_DATETIME([yes], [YYYY-MM-DD]) is greping the first parameter instead of the second. https://bugzilla.gnome.org/show_bug.cgi?id=739079 commit 5afa1af9cf776a9ddf705ab3283c0df2d71e5ef7 Author: Sylvain Etienne <pudbou@gmail.com> Date: Thu Oct 23 15:39:37 2014 +0200 m4: grep's RE patterns conflict with M4 quotes https://bugzilla.gnome.org/show_bug.cgi?id=739079 commit 580d6b097fe9c7dd3e5f18329683e8e13b948e1f Author: Sylvain Etienne <pudbou@gmail.com> Date: Thu Oct 23 15:52:13 2014 +0200 m4: fix comments of SET_PACKAGE_RELEASE_DATETIME https://bugzilla.gnome.org/show_bug.cgi?id=739079