xbps-src [install_pkg_from_repos]: if unset, create it.

This commit is contained in:
Juan RP 2011-06-30 12:33:04 +02:00
parent 87f2599c17
commit 55ada9c447
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ install_pkg_from_repos()
cmd="${fakeroot_cmd} ${fakeroot_cmd_args} ${XBPS_BIN_CMD} -Ay install"
msg_normal "'$pkgname': installing required dependency '$pkg' ...\n"
[ -z "${wrksrc}" ] && wrksrc="$XBPS_BUILDDIR/$pkgname"
[ ! -d "${wrksrc}" ] && mkdir -p "${wrksrc}"
${cmd} "\"$pkg\"" >${wrksrc}/.xbps_install_dependency_${pkgdepname}.log 2>&1
rval=$?