This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7f96bc0d8e1364eb094467ac5b60fd23e246cf0f

commit 7f96bc0d8e1364eb094467ac5b60fd23e246cf0f
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Aug 11 01:37:16 2022 +0200

    test: Do not use unportable -a option to cp
    
    We do not need to preserve attributes for these files.
    
    At least AIX does not support it.
---
 src/at/deb-format.at | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/at/deb-format.at b/src/at/deb-format.at
index 2e8a6468e..b9c96e6c0 100644
--- a/src/at/deb-format.at
+++ b/src/at/deb-format.at
@@ -34,11 +34,11 @@ dpkg-deb --fsys-tarfile pkg-old-templ.deb >fsys.tar
 gzip -n fsys.tar
 
 # Create deb-old 0.939
-cp -a pkg-old-templ.deb pkg-old.deb
+cp pkg-old-templ.deb pkg-old.deb
 
 # Create deb-old-old-old 0.931
 mkdir -p pkg-old-0931-templ/.DEBIAN
-cp -a pkg-old-templ/DEBIAN/* pkg-old-0931-templ/.DEBIAN/
+cp pkg-old-templ/DEBIAN/* pkg-old-0931-templ/.DEBIAN/
 find pkg-old-0931-templ | xargs touch -t 197001010100.00
 tar czf ctrl-0931.tar.gz --format=gnu --mtime @0 --clamp-mtime --owner root:0 
--group root:0 -C pkg-old-0931-templ .DEBIAN
 
@@ -49,7 +49,7 @@ cat fsys.tar.gz >>pkg-old-0931.deb
 
 # Create deb-old-old template
 mkdir -p pkg-old-0932-templ/DEBIAN
-cp -a pkg-old-templ/DEBIAN/* pkg-old-0932-templ/DEBIAN/
+cp pkg-old-templ/DEBIAN/* pkg-old-0932-templ/DEBIAN/
 find pkg-old-0932-templ | xargs touch -t 197001010100.00
 tar czf ctrl-0932.tar.gz --format=gnu --mtime @0 --clamp-mtime --owner root:0 
--group root:0 -C pkg-old-0932-templ DEBIAN
 

-- 
Dpkg.Org's dpkg

Reply via email to