]> granicus.if.org Git - postgis/commitdiff
Fix path to raster (regress) enabler script. Fixes ticket #947.
authorSandro Santilli <strk@keybit.net>
Mon, 9 May 2011 14:07:12 +0000 (14:07 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 9 May 2011 14:07:12 +0000 (14:07 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7115 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test

index b03885e78d844fc93f218fc1676016ab57ccd4d6..d0d7f609f5e2c600065949ffbbb228f5b1110c1c 100755 (executable)
@@ -461,9 +461,10 @@ if test -z "$db_exists"; then
                        fi
                fi
                if test x"$OPT_WITH_RASTER" = "xyes"; then
-                       if test -e ${REGDIR}/../raster/rt_pg/rtpostgis.sql; then
+                       SCRIPT=${REGDIR}/../raster/test/regress/rtpostgis.sql
+                       if test -e ${SCRIPT}; then
                                echo "Adding raster support"
-                               ${PSQL} ${_psql_opts} -Xf ${REGDIR}/../raster/rt_pg/rtpostgis.sql "${DB}" >> ${TMPDIR}/regress_log 2>&1
+                               ${PSQL} ${_psql_opts} -Xf ${SCRIPT} "${DB}" >> ${TMPDIR}/regress_log 2>&1
                        else
                                echo "Raster support skipped (rtpostgis.sql  not found)" 
                        fi