Aaron Griffin wrote:
Aaron Griffin wrote:
On Wed, Nov 4, 2009 at 8:02 PM, Eric Bélanger <snowmaniscool@gmail.com> wrote:
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> --- makechrootpkg | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/makechrootpkg b/makechrootpkg index 5095425..d1dcf32 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -150,6 +150,9 @@ if [ "$REPACK" != "1" ]; then rm -rf "$uniondir/build/"* fi
+eval $(grep '^SRCDEST=' /etc/makepkg.conf) +eval $(grep '^PKGDEST=' /etc/makepkg.conf) + [ -d "$uniondir/pkgdest" ] || mkdir "$uniondir/pkgdest" if ! grep "PKGDEST=/pkgdest" "$uniondir/etc/makepkg.conf" >/dev/null 2>&1; then echo "Setting PKGDEST in makepkg.conf"
<snip>
I was thinking more along the lines of:
Original: eval $(grep '^SRCDEST=' /etc/makepkg.conf)
SRCDEST=$(grep '^SRCDEST=' /etc/makepkg.conf | cut -d= -f2) PKGDEST=$(grep '^PKGDEST=' /etc/makepkg.conf | cut -d= -f2)
Re: Eric's request of November 11 in another thread, I am in favour of committing the above fix to devtools, and then release a new version. Is it ok with you Aaron? F