projects
/
tools
/
pristine-tar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a838f8f
)
remove gnuism
author
Joey Hess
<joey@kitenet.net>
Thu, 13 May 2010 02:21:32 +0000
(22:21 -0400)
committer
Joey Hess
<joey@kitenet.net>
Thu, 13 May 2010 02:21:32 +0000
(22:21 -0400)
though pristine-tar still uses cp -a legitimately
pristine-bz2
patch
|
blob
|
history
diff --git
a/pristine-bz2
b/pristine-bz2
index f6f16f7f83ebe6209e482d1fa4b71f33eeaea7d1..c0b1245c2b7c19c16cb6764fd0db569504f8cdf6 100755
(executable)
--- a/
pristine-bz2
+++ b/
pristine-bz2
@@
-189,9
+189,10
@@
sub testvariant {
my ($old, $tmpin, $bzip2_program, @args) = @_;
# some compressors eat the uncompressed file, some
- # do not; restore as needed
+ # do not; restore as needed. (Note that file name,
+ # mode, mtime do not matter to bzip2.)
if (! -e $tmpin) {
- doit("cp", "
-a", "
$tmpin.bak", "$tmpin");
+ doit("cp", "$tmpin.bak", "$tmpin");
}
my $new=$tmpin.'.bz2';