[DBD::Pg] Typo? Allow PGINITDB to work again

dbdpg-commits-gENoVmVU/[email protected] Thu, 15 May 2014 15:34:30 +0000
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Committed by Greg Sabino Mullane <greg-O9fzpki4YnJWk0Htik3J/[email protected]>

Typo? Allow PGINITDB to work again

---
 t/dbdpg_test_setup.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/dbdpg_test_setup.pl b/t/dbdpg_test_setup.pl
index 0235589..070055b 100644
--- a/t/dbdpg_test_setup.pl
+++ b/t/dbdpg_test_setup.pl
@@ -264,7 +264,7 @@ version: $version
 		$helpconnect = 16;
 
 		## Use the initdb found by App::Info
-		$initdb = $ENV{DBDPG_INITDB} || $ENV{DBDPG_INITDB} || '';
+		$initdb = $ENV{DBDPG_INITDB} || $ENV{PGINITDB} || '';
 		if (!$initdb or ! -e $initdb) {
 			$initdb = 'initdb';
 		}
-- 
1.8.4