.. otherwise you get a weird "database postgis_reg already exists"
when only having a database like "postgis_reg_22" (for example) ..
git-svn-id: http://svn.osgeo.org/postgis/trunk@14405
b70326c6-7e19-0410-871a-
916f4a2858ee
# Prepare the database
##################################################################
-my @dblist = grep(/$DB/, split(/\n/, `psql -Xl`));
+my @dblist = grep(/\b$DB\b/, split(/\n/, `psql -Xl`));
my $dbcount = @dblist;
if ( $dbcount == 0 )