[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-671-g9e5cfe3f3

git at osgeo.org git at osgeo.org
Mon Feb 27 13:06:30 PST 2023


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, master has been updated
       via  9e5cfe3f3a6e9ae0abf4cbb173b450b38866963c (commit)
      from  1a004f40f7fb446aa84caae213d4b782ea74e209 (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 9e5cfe3f3a6e9ae0abf4cbb173b450b38866963c
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Feb 27 22:05:24 2023 +0100

    Replace tac(1) with sed(1)
    
    There's no tac command in cirrus-ci, let's be nice

diff --git a/utils/Makefile.in b/utils/Makefile.in
index 938dca6ad..0bdd56d12 100644
--- a/utils/Makefile.in
+++ b/utils/Makefile.in
@@ -47,10 +47,9 @@ DROP_FILES = \
   $(top_srcdir)/postgis/postgis_before_upgrade.sql
 
 postgis_restore_data.hardcoded: postgis_restore.pl.in
-	tac $< \
-		| sed '/^__END__/q' \
-		| grep -v '^__END__' \
-    > $@
+	sed -e '1,/^__END__/d' $< \
+		| sort -u \
+		> $@
 
 postgis_restore_data.generated: $(DROP_FILES)
 	grep '^DROP FUNCTION IF EXISTS' $(DROP_FILES) | \

-----------------------------------------------------------------------

Summary of changes:
 utils/Makefile.in | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list