summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
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}" \;
}