[postgis-tickets] r15980 - Try to fix next scripts not being installed on windows by moving linking step to after install of ANY script

Regina Obe lr at pcorp.us
Fri Oct 13 21:27:56 PDT 2017


Author: robe
Date: 2017-10-13 21:27:56 -0700 (Fri, 13 Oct 2017)
New Revision: 15980

Modified:
   trunk/extensions/postgis/Makefile.in
Log:
Try to fix next scripts not being installed on windows by moving linking step to after install of ANY script
Assumption being the fact ANY doesn't exist at time of link is causing problems
References #3901

Modified: trunk/extensions/postgis/Makefile.in
===================================================================
--- trunk/extensions/postgis/Makefile.in	2017-10-13 05:40:27 UTC (rev 15979)
+++ trunk/extensions/postgis/Makefile.in	2017-10-14 04:27:56 UTC (rev 15980)
@@ -134,9 +134,9 @@
 # revisions of the same version
 install-upgrade-paths: sql_bits/postgis_extension_upgrade_minor.sql
 	tpl='$(EXTENSION)--ANY--$(EXTVERSION).sql'; \
+	$(INSTALL_DATA) $^ "$(EXTDIR)/$${tpl}"; \
 	ln -fs "$${tpl}" $(EXTDIR)/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql; \
 	ln -fs "$${tpl}" $(EXTDIR)/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql; \
-	$(INSTALL_DATA) $^ "$(EXTDIR)/$${tpl}"; \
 	for OLD_VERSION in $(UPGRADEABLE_VERSIONS); do \
 		ln -fs "$${tpl}" $(EXTDIR)/$(EXTENSION)--$$OLD_VERSION--$(EXTVERSION).sql; \
 	done



More information about the postgis-tickets mailing list