From 2428881008c80c7a153fbd114484d596bafd5e52 Mon Sep 17 00:00:00 2001 From: Phillip Michael Date: Sun, 27 Dec 2009 19:33:30 -0800 Subject: [PATCH] apply_config after creating builddir --- srcpac | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpac b/srcpac index e676a58..012f541 100755 --- a/srcpac +++ b/srcpac @@ -127,9 +127,6 @@ build_packages() if [ -f ${pkgdir}/PKGBUILD ]; then builddir=/var/srcpac${pkgdir/${ABSROOT}//} - # apply configuration - apply_config ${pkg} ${builddir} - # seperate out our makepkg flags MAKEPKGOPTS="-c -s -r -f" @@ -138,6 +135,9 @@ build_packages() cp ${pkgdir}/* ${builddir} cd ${builddir} + # apply configuration + apply_config ${pkg} ${builddir} + if [ ${EDIT} -eq 1 ]; then [ -z "$EDITOR" ] && EDITOR=nano $EDITOR PKGBUILD -- 1.6.6