[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. fbaff4cfc6df64669561a9bc77729ffeecb2d41f
git at osgeo.org
git at osgeo.org
Tue Jan 7 15:58:59 PST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, stable-3.0 has been updated
via fbaff4cfc6df64669561a9bc77729ffeecb2d41f (commit)
from 36bcfa1737a9a6c6ee2d9a8710eba6be4c51769b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fbaff4cfc6df64669561a9bc77729ffeecb2d41f
Author: Regina Obe <lr at pcorp.us>
Date: Tue Jan 7 18:58:53 2020 -0500
Change check_news.sh so that it uses date format that also works on freebsd. Closes #4609 for PostGIS 3.0.1
diff --git a/utils/check_news.sh b/utils/check_news.sh
index cf13fed..6663557 100755
--- a/utils/check_news.sh
+++ b/utils/check_news.sh
@@ -38,8 +38,8 @@ grep -B1 '^[0-9]\{4\}/[0-9]\{2\}/[0-9]\{2\}' NEWS |
while read rel; do
read date
read sep
- ts=$( date -d "${date}" '+%s' )
- pts=$( date -d "${pdate}" '+%s' )
+ ts=$( echo "${date}" | tr -d '/' )
+ pts=$( echo "${pdate}" | tr -d '/' )
if test $ts -gt $pts; then
echo "FAIL: ${rel} (${date}) appears after ${prel} (${pdate})" >&2
exit 1
-----------------------------------------------------------------------
Summary of changes:
utils/check_news.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list