From: Joey Hess Date: Thu, 13 May 2010 02:21:32 +0000 (-0400) Subject: remove gnuism X-Git-Tag: 1.02~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b56f14c641e2c437a458f5cc39262bde4612acac;p=tools%2Fpristine-tar.git remove gnuism though pristine-tar still uses cp -a legitimately --- 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';