summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-23 14:30:24 +0200
committerErich Eckner <git@eckner.net>2019-04-23 14:30:24 +0200
commit513940b596873ef218e4441d6faa3166a9cc6011 (patch)
tree437c515c0fa46827263f1c9fca4fa9339fa1cff2 /lib
parent187000c773cda77c2501bfd61c55d744b3f1c5a5 (diff)
downloadbuilder-513940b596873ef218e4441d6faa3166a9cc6011.tar.xz
lib/common-functions: apply_trunk_patch() should also copy over missing files
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions6
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}" \;
}