summaryrefslogtreecommitdiff
path: root/src/offload-build.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/offload-build.in')
-rw-r--r--src/offload-build.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/offload-build.in b/src/offload-build.in
index 5238129..0c497b9 100644
--- a/src/offload-build.in
+++ b/src/offload-build.in
@@ -114,7 +114,9 @@ mapfile -t files < <(
if [[ -f /usr/share/devtools/makepkg.conf.d/'"${repo}"'-'"${arch}"'.conf ]]; then
makepkg_config="/usr/share/devtools/makepkg.conf.d/'"${repo}"'-'"${arch}"'.conf"
fi &&
- makepkg --config <(cat "${makepkg_user_config}" "${makepkg_config}" 2>/dev/null) --packagelist &&
+ while read -r file; do
+ [[ -f "${file}" ]] && printf "%s\n" "${file}" ||:
+ done < <(makepkg --config <(cat "${makepkg_user_config}" "${makepkg_config}" 2>/dev/null) --packagelist) &&
printf "%s\n" "${temp}/PKGBUILD"
')