Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 0cacf18..45438cd 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -468,6 +468,8 @@ extract_source_directory() {
if [ -n "${PKGBUILD}" ]; then
eval 'git -C "${repo_paths__'"${git_repo}"'}" archive "${rev}" -- "${PKGBUILD%/*}"' | \
tar -x --strip-components=3 -C "${output}"
+ printf '\n' >> \
+ "${output}/PKGBUILD"
fi
if [ -n "${PKGBUILD_mod}" ]; then
@@ -477,6 +479,8 @@ extract_source_directory() {
git -C "${repo_paths__archlinux32}" archive "${mod_rev}" -- "${PKGBUILD_mod}" | \
tar -Ox "${PKGBUILD_mod}" >> \
"${output}/PKGBUILD"
+ printf '\n' >> \
+ "${output}/PKGBUILD"
fi
# we do not want to update pkgver, so we just undefine it