]> granicus.if.org Git - postgis/commitdiff
force drop of postgis_reg database if it exists.
authorRegina Obe <lr@pcorp.us>
Mon, 11 Dec 2017 21:14:31 +0000 (21:14 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 11 Dec 2017 21:14:31 +0000 (21:14 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16144 b70326c6-7e19-0410-871a-916f4a2858ee

ci/bessie/postgis_regress.sh
ci/bessie32/postgis_regress.sh

index 3eadd25a3bac17cbbe9130a11065804a016ddfc3..38919d96259462c501b7b6c4f9930eec268834fd 100644 (file)
@@ -6,6 +6,7 @@ make clean
 make
 export PGUSER=postgres
 export PGIS_REG_TMPDIR=~/tmp/pgis_reg_${BRANCH}
+psql -c "DROP DATABASE IF EXISTS postgis_reg;"
 make check
 sudo make install
 make check RUNTESTFLAGS=--extension
index c0741d6d50d6d216e43e8536967636a8752f86e7..ef3f1448fbed28bb0d6dcffef2dc9240c4ba2ba8 100644 (file)
@@ -5,6 +5,7 @@ make clean
 make
 export PGUSER=postgres
 export PGIS_REG_TMPDIR=~/tmp/pgis_reg_${BRANCH}
+psql -c "DROP DATABASE IF EXISTS postgis_reg;"
 make check
 sudo make install
 make check RUNTESTFLAGS=--extension