sys-kernel/vanilla-kernel-bin: Use 'mv' to optimize install
authorMichał Górny <mgorny@gentoo.org>
Wed, 1 Jan 2020 16:17:44 +0000 (17:17 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 1 Jan 2020 22:00:31 +0000 (23:00 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.6.ebuild

index 6d1186eafb6e84baaa17f649611946171d2e1739..7d051f6f00551b5fe8d6231f0955b679498097b8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -119,8 +119,7 @@ src_test() {
 }
 
 src_install() {
-       # cp is easier for preserving +x bits
-       cp -p -R . "${ED}" || die
+       mv * "${ED}" || die
 }
 
 pkg_preinst() {