[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1039] branches/1.2/LedgerSMB/AM.pm



Revision: 1039
          http://svn.sourceforge.net/ledger-smb/?rev=1039&view=rev
Author:   linuxpoet
Date:     2007-04-06 21:26:19 -0700 (Fri, 06 Apr 2007)

Log Message:
-----------
fix pgpasswd versus pgpassword

Modified Paths:
--------------
    branches/1.2/LedgerSMB/AM.pm

Modified: branches/1.2/LedgerSMB/AM.pm
===================================================================
--- branches/1.2/LedgerSMB/AM.pm	2007-04-07 04:00:30 UTC (rev 1038)
+++ branches/1.2/LedgerSMB/AM.pm	2007-04-07 04:26:19 UTC (rev 1039)
@@ -1617,7 +1617,7 @@
 	my $suffix = "";
 
 	if ($form->{media} eq 'email') {
-		print OUT qx(PGPASSWD="$globalDBPassword" pg_dump -U $globalDBUserName -h $globalDBhost -Fc -p $globalDBport $globalDBname);
+		print OUT qx(PGPASSWORD="$globalDBPassword" pg_dump -U $globalDBUserName -h $globalDBhost -Fc -p $globalDBport $globalDBname);
 		close OUT;
 		use LedgerSMB::Mailer;
 		$mail = new Mailer;
@@ -1644,7 +1644,7 @@
 
 		print OUT qq|Content-Type: application/file;\n| .
 		qq|Content-Disposition: attachment; filename="$myconfig->{dbname}-$form->{dbversion}-$t[5]$t[4]$t[3].sql$suffix"\n\n|;
-		print OUT qx(PGPASSWD="$globalDBPassword" pg_dump -U $globalDBUserName -h $globalDBhost -Fc -p $globalDBport $globalDBname);
+		print OUT qx(PGPASSWORD="$globalDBPassword" pg_dump -U $globalDBUserName -h $globalDBhost -Fc -p $globalDBport $globalDBname);
 	}
 
 	unlink "$tmpfile";


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.