diff --git a/git-archimport.perl b/git-archimport.perl
index 980e827b27ae0fa9a07667501d4cb26b5673cedf..e22c81628dbde8a16c0bef5f64d3e6b34fba4f26 100755 (executable)
--- a/git-archimport.perl
+++ b/git-archimport.perl
next if $t =~ m!\{arch\}/!;
next if $t =~ m!\.arch-ids/!;
next if $t =~ m!\.arch-inventory$!;
+ # tla cat-archive-log will give us filenames with spaces as file\(sp)name - why?
+ # we can assume that any filename with \ indicates some pika escaping that we want to get rid of.
+ if ($t =~ /\\/ ){
+ $t = `tla escape --unescaped '$t'`;
+ }
push (@tmp, shell_quote($t));
}
@$ref = @tmp;