]> granicus.if.org Git - postgis/commitdiff
#3134 change make garden to use regress install instead of the scripts in postgis/..
authorRegina Obe <lr@pcorp.us>
Fri, 29 May 2015 07:56:29 +0000 (07:56 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 29 May 2015 07:56:29 +0000 (07:56 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13579 b70326c6-7e19-0410-871a-916f4a2858ee

regress/Makefile.in

index 21ad14ec5556d79ea2e9e93252de66e488e5aa82..f90c543f6ff7fbaab19b74494dd4b07aa36a29ad 100644 (file)
@@ -245,8 +245,8 @@ test check: staged-install
 garden:
        createdb postgis_garden
        createlang plpgsql postgis_garden || true #tolerate an error here
-       psql -d postgis_garden < ../postgis/postgis.sql && \
-       psql -d postgis_garden < ../spatial_ref_sys.sql || true # tolerate an error here
+       psql -d postgis_garden < $(REGRESS_INSTALLDIR)/share/contrib/postgis/postgis.sql && \
+       psql -d postgis_garden < $(REGRESS_INSTALLDIR)/share/contrib/postgis/spatial_ref_sys.sql || true # tolerate an error here
        @echo '-------------------------------------------------'
        @echo 'Regression tests in progress (it will take time)'
        @echo 'Result output: ./regress/postgis_garden_result.txt'