mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
script/autobuild.py: use more portable 'cp -R -a -l'
On platforms like FreeBSD 12 cp doesn't accept the long options, using the one letter options works there and keeps working on Linux as well. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
f9374d0a4e
commit
0312a10e09
@ -836,7 +836,7 @@ class builder(object):
|
||||
run_cmd("rm -rf %s" % self.test_source_dir)
|
||||
run_cmd("rm -rf %s" % self.prefix)
|
||||
if cp:
|
||||
run_cmd("cp --recursive --link --archive %s %s" % (test_master, self.test_source_dir), dir=test_master, show=True)
|
||||
run_cmd("cp -R -a -l %s %s" % (test_master, self.test_source_dir), dir=test_master, show=True)
|
||||
else:
|
||||
run_cmd("git clone --recursive --shared %s %s" % (test_master, self.test_source_dir), dir=test_master, show=True)
|
||||
self.start_next()
|
||||
|
Loading…
x
Reference in New Issue
Block a user