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:
parent
65727584e0
commit
4f67c26652
3 changed files with 5 additions and 5 deletions
|
@ -83,7 +83,7 @@ if declare -f do_clean >/dev/null; then
|
|||
run_func do_clean
|
||||
fi
|
||||
|
||||
if [ -z "$XBPS_KEEP_ALL" ]; then
|
||||
if [ -n "$XBPS_DEPENDENCY" -o -z "$XBPS_KEEP_ALL" ]; then
|
||||
remove_pkg_autodeps
|
||||
remove_pkg_wrksrc
|
||||
remove_pkg $XBPS_CROSS_BUILD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue