FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 11-05-2009, 01:02 AM
Eric Bélanger
 
Default makechrootpkg: Use the host's SRCDEST and PKGDEST if they are defined

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"
--
1.6.5.2
 

Thread Tools




All times are GMT. The time now is 11:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org