From 513940b596873ef218e4441d6faa3166a9cc6011 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 23 Apr 2019 14:30:24 +0200 Subject: lib/common-functions: apply_trunk_patch() should also copy over missing files --- lib/common-functions | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/common-functions') diff --git a/lib/common-functions b/lib/common-functions index 17309fb..9ba495c 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -930,4 +930,10 @@ apply_trunk_patch() { ' \ | patch -p0 "${source_dir}/PKGBUILD" chmod -w "${source_dir}/PKGBUILD" + find "${diff_source_dir}/../../trunk/" \ + -mindepth 1 \ + -maxdepth 1 \ + -not -name 'PKGBUILD' \ + -type f \ + -exec cp '{}' "${source_dir}" \; } -- cgit v1.2.3-54-g00ecf