From: Sandro Santilli Date: Mon, 9 May 2011 14:07:12 +0000 (+0000) Subject: Fix path to raster (regress) enabler script. Fixes ticket #947. X-Git-Tag: 2.0.0alpha1~1693 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60df85bce621b7accf1b057773f114c8821aefc8;p=postgis Fix path to raster (regress) enabler script. Fixes ticket #947. git-svn-id: http://svn.osgeo.org/postgis/trunk@7115 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/run_test b/regress/run_test index b03885e78..d0d7f609f 100755 --- a/regress/run_test +++ b/regress/run_test @@ -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