index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | makechrootpkg.in | 6 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 802ab65..c099a71 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -259,6 +259,8 @@ _chrootnamcap() { # Usage: download_sources $copydir $makepkg_user # Globals: # - SRCDEST +# - SRCPKGDEST +# - PKGDEST download_sources() { local copydir=$1 local makepkg_user=$2 @@ -269,8 +271,8 @@ download_sources() { # Ensure sources are downloaded sudo -u "$makepkg_user" --preserve-env=GNUPGHOME \ - env SRCDEST="$SRCDEST" BUILDDIR="$builddir" \ - makepkg --config="$copydir/etc/makepkg.conf" --verifysource -o || + env SRCDEST="$SRCDEST" SRCPKGDEST="$SRCPKGDEST" PKGDEST="$PKGDEST" BUILDDIR="$builddir" \ + makepkg --config="$copydir/etc/makepkg.conf" --allsource || die "Could not download sources." # Clean up garbage from verifysource |