File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 161161 # tar.Z: using compress (LZW), but can be handled with gzip so use 'z'
162162 '.tar.z' : "tar xzf %(filepath)s" ,
163163 # shell scripts don't need to be unpacked, just copy there
164- '.sh' : "cp -a %(filepath)s ." ,
164+ '.sh' : "cp -dR %(filepath)s ." ,
165165}
166166
167167ZIPPED_PATCH_EXTS = ('.bz2' , '.gz' , '.xz' )
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def test_extract_cmd(self):
104104 ('test.txz' , "unset TAPE; unxz test.txz --stdout | tar x" ),
105105 ('test.iso' , "7z x test.iso" ),
106106 ('test.tar.Z' , "tar xzf test.tar.Z" ),
107- ('test.foo.bar.sh' , "cp -a test.foo.bar.sh ." ),
107+ ('test.foo.bar.sh' , "cp -dR test.foo.bar.sh ." ),
108108 # check whether extension is stripped correct to determine name of target file
109109 # cfr. https://github.com/easybuilders/easybuild-framework/pull/3705
110110 ('testbz2.bz2' , "bunzip2 -c testbz2.bz2 > testbz2" ),
You can’t perform that action at this time.
0 commit comments