From 83427483779c45ff090055fbe699700dbea7f223 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 19 Dec 2007 14:29:38 -0600 Subject: [PATCH] installer: munge ZEBRA_PASS only when INSTALL_ZEBRA=yes --- Makefile.PL | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index 114bf3f93f..c65f839f03 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1165,7 +1165,9 @@ sub postamble { # quote '$' in the two password parameters my %config = %config; $config{'DB_PASS'} =~ s/\$/\$\$/g; - $config{'ZEBRA_PASS'} =~ s/\$/\$\$/g; + if ($config{'INSTALL_ZEBRA'} eq "yes") { + $config{'ZEBRA_PASS'} =~ s/\$/\$\$/g; + } # Hereagain, we must alter syntax per platform... if ( $^O eq 'MSWin32' ) { -- 2.11.0