xbps-src [install_pkg_from_repos]: if unset, create it.
This commit is contained in:
parent
87f2599c17
commit
55ada9c447
|
@ -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=$?
|
||||
|
|
Loading…
Reference in New Issue