Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 95bcf8d..821491a 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -496,7 +496,13 @@ while [ "${count}" -ne 0 ] && \
set -e
CARCH="${arch}"
. /usr/share/makepkg/util/source.sh
- . PKGBUILD
+ eval "$(
+ sed '
+ :a
+ s/^\(\S\+\)-/\1_/
+ ta
+ ' PKGBUILD
+ )"
printf '%s\n' "${source[@]}" \
| grep '^git+' \
| while read -r netfile; do