summaryrefslogtreecommitdiff
path: root/support/file-attr-restore
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-09-02 20:05:08 +0000
committerWayne Davison <wayned@samba.org>2006-09-02 20:05:08 +0000
commit71f9e4673e5991f3ee149e8d41d5767371589fcb (patch)
treed9991e3504e846996819405f6560df752f5edf61 /support/file-attr-restore
parent176e8e94c363ffeb8b5fe0b1fd516c8b63fb0ba1 (diff)
downloadrsync-71f9e4673e5991f3ee149e8d41d5767371589fcb.tar.gz
A slight simplification to the last change.
Diffstat (limited to 'support/file-attr-restore')
-rwxr-xr-xsupport/file-attr-restore2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/file-attr-restore b/support/file-attr-restore
index 7238b00f..c4da61ef 100755
--- a/support/file-attr-restore
+++ b/support/file-attr-restore
@@ -48,7 +48,7 @@ while (<>) {
die "Invalid input line $.:\n$_" unless defined $name;
die "A filename is not properly escaped:\n$_" unless $name =~ /^[^"\\]*(\\(\d\d\d|\D)[^"\\]*)*$/;
my $fn = $name;
- $fn =~ s/\\(\d+|[A-Za-z]|.)/ eval "\"\\$1\"" /eg;
+ $fn =~ s/\\(\d+|.)/ eval "\"\\$1\"" /eg;
if ($type eq '-') {
undef $type unless -f $fn;
} elsif ($type eq 'd') {