xbps-src: force autodeps cleanup while building dependencies.

Before that change, "./xbps-src -C pkg foo" would not remove dependencies
installed by previous builds required by foo.
This commit is contained in:
Juan RP 2015-05-02 03:40:52 +02:00
parent 65727584e0
commit 4f67c26652
3 changed files with 5 additions and 5 deletions

View file

@ -43,8 +43,6 @@ pkg_available() {
remove_pkg_autodeps() {
local rval= tmplogf=
[ -n "$XBPS_KEEP_ALL" ] && return 0
cd $XBPS_MASTERDIR || return 1
msg_normal "${pkgver:-xbps-src}: removing autodeps, please wait...\n"
tmplogf=$(mktemp)