Revert "Don't copy makepkg.conf into the chroot"

This reverts commit 4bc819a20e.

Temporary revert until we get this sorted out

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Aaron Griffin 2009-09-18 11:56:28 -07:00
parent 40251235a8
commit 92a83232e3
1 changed files with 13 additions and 2 deletions

View File

@ -152,6 +152,16 @@ if [ "$REPACK" != "1" ]; then
rm -rf "$uniondir/build/"*
fi
# Copy makepkg.conf and ~/.makepkg.conf into the chroot so packager has
# all their custom variables set.
if [ -r "/etc/makepkg.conf" ]; then
rm $uniondir/etc/makepkg.conf
cp /etc/makepkg.conf $uniondir/etc/makepkg.conf
fi
if [ -r ~/.makepkg.conf ]; then
cat ~/.makepkg.conf >> $uniondir/etc/makepkg.conf
fi
source $uniondir/etc/makepkg.conf
[ -d "$uniondir/pkgdest" ] || mkdir "$uniondir/pkgdest"
@ -271,4 +281,5 @@ else
echo "Build complete"
fi
# vim:ft=sh:ts=4:sw=4:et: