Ticket #31205: tardiff-reparent.patch
File tardiff-reparent.patch, 457 bytes (added by fracai, 13 years ago) |
---|
-
tardiff
old new 73 73 $flag = "-j"; 74 74 } 75 75 76 my $list = `tar -C $tempdir $flag -xvf $tarball 2>/dev/null`; 76 my $list = `gnutar -C $tempdir $flag -xvf $tarball 2>/dev/null`; 77 78 my @list = split("\n", $list); 79 foreach my $line (@list) { 80 $line =~ s|^|./|g; 81 $line =~ s|(\./)+|./|g; 82 } 83 $list = join("\n", @list); 84 77 85 return $list; 78 86 } 79 87