[postgis-tickets] r15437 - Avoid ever-growing postgis extension upgrade scripts

Sandro Santilli strk at kbt.io
Mon Jun 19 13:37:07 PDT 2017


Author: strk
Date: 2017-06-19 13:37:07 -0700 (Mon, 19 Jun 2017)
New Revision: 15437

Modified:
   branches/2.3/postgis/Makefile.in
Log:
Avoid ever-growing postgis extension upgrade scripts

Fixes #3775 for 2.3 branch

Modified: branches/2.3/postgis/Makefile.in
===================================================================
--- branches/2.3/postgis/Makefile.in	2017-06-19 20:37:00 UTC (rev 15436)
+++ branches/2.3/postgis/Makefile.in	2017-06-19 20:37:07 UTC (rev 15437)
@@ -178,7 +178,7 @@
 	$(PERL) -lpe "s'MODULE_PATHNAME'\$$libdir/postgis- at POSTGIS_MAJOR_VERSION@. at POSTGIS_MINOR_VERSION@'g;s'@extschema@\.''g" > $@
 
 postgis_upgrade_for_extension.sql: postgis_drop_before.sql postgis_upgrade_for_extension.sql.in postgis_drop_after.sql
-	cat $^ >> $@
+	cat $^ > $@
 
 postgis_for_extension.sql: postgis.sql.in
 	$(SQLPP) -I../libpgcommon $< | grep -v '^#' | \



More information about the postgis-tickets mailing list