]> granicus.if.org Git - postgis/commitdiff
Reword loading of upgrade scripts
authorSandro Santilli <strk@keybit.net>
Tue, 17 Jan 2012 17:52:46 +0000 (17:52 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 17 Jan 2012 17:52:46 +0000 (17:52 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8854 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test

index 3cf0f31fe6310ba9139ca32b4cc2df35ff31363f..8ba5f3cfb3c365114c75ec345ef2d95b12e5a07f 100755 (executable)
@@ -586,7 +586,7 @@ fi
 if test x"$OPT_UPGRADE" = "xyes"; then
   SCRIPT=${STAGED_SCRIPTS_DIR}/postgis_upgrade_*_minor.sql
   if test -e ${SCRIPT}; then
-    echo "Loading ${SCRIPT}"
+    echo "Upgrading core"
     ${PSQL} ${_psql_opts} -Xf ${SCRIPT} "${DB}" >> ${TMPDIR}/regress_log 2>&1 || init_db_error "core upgrade"
   else
     echo "${SCRIPT} not found" >&2
@@ -596,7 +596,7 @@ if test x"$OPT_UPGRADE" = "xyes"; then
   if test x"$OPT_WITH_TOPO" = "xyes"; then
     SCRIPT=${STAGED_SCRIPTS_DIR}/topology_upgrade_*_minor.sql
     if test -e ${SCRIPT}; then
-      echo "Loading ${SCRIPT}"
+      echo "Upgrading topology"
       ${PSQL} ${_psql_opts} -Xf ${SCRIPT} "${DB}" >> ${TMPDIR}/regress_log 2>&1 || init_db_error "topology upgrade"
     else
       echo "${SCRIPT} not found" >&2
@@ -607,7 +607,7 @@ if test x"$OPT_UPGRADE" = "xyes"; then
   if test x"$OPT_WITH_RASTER" = "xyes"; then
     SCRIPT=${STAGED_SCRIPTS_DIR}/rtpostgis_upgrade_*_minor.sql
     if test -e ${SCRIPT}; then
-      echo "Loading ${SCRIPT}"
+      echo "Upgrading raster"
       ${PSQL} ${_psql_opts} -Xf ${SCRIPT} "${DB}" >> ${TMPDIR}/regress_log 2>&1 || init_db_error "raster upgrade"
     else
       echo "${SCRIPT} not found" >&2