summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-06-22 18:42:58 +0000
committerivan <ivan>2011-06-22 18:42:58 +0000
commit72d01f7a8c5f0f5f54283ac599b240527f14ee13 (patch)
tree3a7dadffe79036bbc57309c6119d5e04a0edea8e
parent35eaf23a83882bc222197034c6f1f3cf912dfbc7 (diff)
fix -g gunzipping, RT#10991
-rwxr-xr-xFS/bin/freeside-cdr-sftp_and_import2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-cdr-sftp_and_import b/FS/bin/freeside-cdr-sftp_and_import
index ab9d4a658..1d052ea5c 100755
--- a/FS/bin/freeside-cdr-sftp_and_import
+++ b/FS/bin/freeside-cdr-sftp_and_import
@@ -95,7 +95,7 @@ foreach my $filename ( @$ls ) {
warn "Processing $filename\n" if $opt_v;
my $ungziped = $filename;
- my $ungziped =~ s/\.gz$//;
+ $ungziped =~ s/\.gz$//;
if ( $opt_g ) {
if(system('gunzip', "$cachedir/$filename") != 0) {
warn "gunzip of '$cachedir/$filename' failed" if $opt_v;