I thought someone else has fixed this. New patch.
-- Andrea Scarpino - andreascarpino.it KDE Maintainer in Arch Linux
From 4c0c0c9409c6d587a4d84b9153996d18814b481c Mon Sep 17 00:00:00 2001 From: Andrea Scarpino <[email protected]> Date: Wed, 5 May 2010 12:58:13 +0200 Subject: [PATCH] read {SRC,PKG}DEST from ~/.makepkg.conf --- makechrootpkg | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/makechrootpkg b/makechrootpkg index 779786e..5919e41 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -135,7 +135,9 @@ fi # Get SRC/PKGDEST from makepkg.conf SRCDEST=$(grep '^SRCDEST=' /etc/makepkg.conf | cut -d= -f2) +[ -f ~/.makepkg.conf ] && SRCDEST=$(grep '^SRCDEST=' ~/.makepkg.conf | cut -d= -f2) PKGDEST=$(grep '^PKGDEST=' /etc/makepkg.conf | cut -d= -f2) +[ -f ~/.makepkg.conf ] && PKGDEST=$(grep '^PKGDEST=' ~/.makepkg.conf | cut -d= -f2) [ -d "$copydir/pkgdest" ] || mkdir "$copydir/pkgdest" if ! grep 'PKGDEST=/pkgdest' "$copydir/etc/makepkg.conf" >/dev/null 2>&1; then -- 1.7.1

