Committed by Greg Sabino Mullane <[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

Reply via email to