[gnumeric-web] ftp-sync: regexp fix.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric-web] ftp-sync: regexp fix.
- Date: Thu, 24 Mar 2016 00:17:07 +0000 (UTC)
commit f8f5b254c71daf2b4bcb002a71ceeb9cd6a924e3
Author: Morten Welinder <terra gnome org>
Date: Wed Mar 23 20:16:50 2016 -0400
ftp-sync: regexp fix.
ftp-sync | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ftp-sync b/ftp-sync
index 53a5763..588a4d1 100755
--- a/ftp-sync
+++ b/ftp-sync
@@ -71,7 +71,7 @@ foreach my $l (@lines) {
my ($mtime,$mtime_res) = &decode_time ($f[5], $f[6], $f[7]);
my $full = "$dir/$filename";
- $full =~ s{^./+}{};
+ $full =~ s{^\./+}{};
$files{$full} = [$size,$mtime,$mtime_res];
print STDERR "Have $full\n";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]