mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 09:57:41 +00:00
[#3147] trivial hammer fix: don't move files
Don't move files to themselves. Solves error: mv: 'kea-pkg/isc-kea-2.5.4-r20231113065823.apk' and 'kea-pkg/isc-kea-2.5.4-r20231113065823.apk' are the same file
This commit is contained in:
parent
1b4b3a6b87
commit
60e92acc09
@ -2519,8 +2519,9 @@ def _build_native_pkg(system, revision, features, tarball_path, env, check_times
|
|||||||
elif system in ['fedora', 'centos', 'rhel']:
|
elif system in ['fedora', 'centos', 'rhel']:
|
||||||
execute('mv pkgs/* %s' % pkgs_dir)
|
execute('mv pkgs/* %s' % pkgs_dir)
|
||||||
elif system in ['alpine']:
|
elif system in ['alpine']:
|
||||||
#execute('mv kea-src/* %s' % pkgs_dir)
|
# Don't move files if the source and the target locations are the same.
|
||||||
execute('mv kea-pkg/* %s' % pkgs_dir)
|
if pkgs_dir != 'kea-pkg':
|
||||||
|
execute('mv kea-pkg/* %s' % pkgs_dir)
|
||||||
elif system in ['arch']:
|
elif system in ['arch']:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user