From 9d5f2164f8fa50bb44d154078821f9e123e08814 Mon Sep 17 00:00:00 2001 From: mark Date: Thu, 12 Nov 2009 02:03:29 +0000 Subject: [PATCH] Fix zip password --- FS/bin/freeside-paymentech-download | 2 +- FS/bin/freeside-paymentech-upload | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FS/bin/freeside-paymentech-download b/FS/bin/freeside-paymentech-download index 293db8420..16ac3c23b 100755 --- a/FS/bin/freeside-paymentech-download +++ b/FS/bin/freeside-paymentech-download @@ -68,7 +68,7 @@ BATCH: foreach my $filename (@files) { } #unzip file - system('unzip', '-P', '$password', '-q', + system('unzip', '-P', $password, '-q', "$tmpdir/${filename}_resp.zip", '-d', $tmpdir); if(! -f "$tmpdir/${filename}_resp.xml") { warn "failed to extract ${filename}_resp.xml from ${filename}_resp.zip\n"; diff --git a/FS/bin/freeside-paymentech-upload b/FS/bin/freeside-paymentech-upload index 42bd278c1..06bef68be 100755 --- a/FS/bin/freeside-paymentech-upload +++ b/FS/bin/freeside-paymentech-upload @@ -63,7 +63,7 @@ foreach my $pay_batch (@batches) { print OUT $text; close OUT; - system('zip', '-P', '$password', '-q', '-j', + system('zip', '-P', $password, '-q', '-j', "$tmpdir/$filename.zip", "$tmpdir/$filename.xml"); die "failed to create zip file\n" if (! -f "$tmpdir/$filename.zip" ); -- 2.11.0