diff options
author | Erich Eckner <git@eckner.net> | 2019-04-23 14:30:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-04-23 14:30:24 +0200 |
commit | 513940b596873ef218e4441d6faa3166a9cc6011 (patch) | |
tree | 437c515c0fa46827263f1c9fca4fa9339fa1cff2 /lib/common-functions | |
parent | 187000c773cda77c2501bfd61c55d744b3f1c5a5 (diff) | |
download | builder-513940b596873ef218e4441d6faa3166a9cc6011.tar.xz |
lib/common-functions: apply_trunk_patch() should also copy over missing files
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 6 |
1 files changed, 6 insertions, 0 deletions
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}" \; } |