Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
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/common-functions
parent187000c773cda77c2501bfd61c55d744b3f1c5a5 (diff)
lib/common-functions: apply_trunk_patch() should also copy over missing files
Diffstat (limited to 'lib/common-functions')
-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}" \;
}