Commit a7d88845 authored by Aaron Griffin's avatar Aaron Griffin
Browse files

Remove sourcing of makepkg.conf files



This is replaced by commit marked "Use the host's SRCDEST and PKGDEST if
defined"

Noticed-by: default avatarEric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: default avatarAaron Griffin <aaronmgriffin@gmail.com>
parent ea4b0d0a
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -223,11 +223,6 @@ EOF
chmod +x "$uniondir/chrootbuild"

if mkarchroot -r "/chrootbuild" "$uniondir"; then

    # Source global makepkg.conf for SRCDEST and PKGDEST vars
    [ -f /etc/makepkg.conf ] && source /etc/makepkg.conf
    [ -f ~/.makepkg.conf ] && source ~/.makepkg.conf

    for pkgfile in "${chrootdir}"/union/pkgdest/*${PKGEXT}; do
        [ -e "$pkgfile" ] || continue
        _pkgname=$(basename "$pkgfile")