From b56f14c641e2c437a458f5cc39262bde4612acac Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 May 2010 22:21:32 -0400 Subject: [PATCH] remove gnuism though pristine-tar still uses cp -a legitimately --- pristine-bz2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pristine-bz2 b/pristine-bz2 index f6f16f7..c0b1245 100755 --- 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'; -- 2.7.4