diff options
author | Sylvain Etienne <pudbou@gmail.com> | 2014-10-23 15:45:34 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-10-31 12:29:35 +0000 |
commit | b05b9cb537caadd9e34039037fe833b9d858fb9f (patch) | |
tree | 2b2d3f04ac2884d95f1781571bacca105ee354ff /m4 | |
parent | 5afa1af9cf776a9ddf705ab3283c0df2d71e5ef7 (diff) |
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
Diffstat (limited to 'm4')
-rw-r--r-- | m4/gst-package-release-datetime.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/gst-package-release-datetime.m4 b/m4/gst-package-release-datetime.m4 index 7f14c4d..4cf44e6 100644 --- a/m4/gst-package-release-datetime.m4 +++ b/m4/gst-package-release-datetime.m4 @@ -34,9 +34,9 @@ AC_DEFUN([AG_GST_SET_PACKAGE_RELEASE_DATETIME], dnl AG_GST_SET_PACKAGE_RELEASE_DATETIME([yes], [YYYY-MM-DD]) dnl AG_GST_SET_PACKAGE_RELEASE_DATETIME([yes], [DOAP-FILE], [RELEASE-VERSION]) changequote(<<, >>)dnl - if ( echo $1 | grep '^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]' >/dev/null ) ; then + if ( echo $2 | grep '^20[1-9][0-9]-[0-1][0-9]-[0-3][0-9]' >/dev/null ) ; then changequote([, ])dnl - GST_PACKAGE_RELEASE_DATETIME=$1 + GST_PACKAGE_RELEASE_DATETIME=$2 else dnl we assume the .doap file contains the date as YYYY-MM-DD YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`; |