makepkg.sh: skip checking buildtime deps when runtime check already failed
This could help locate the real failure (instead of scrolling through the whole possibly-successful buildtime dep installation section) and also saves time on the operation.
This commit is contained in:
parent
692f7a2cfe
commit
64299ccfbb
1 changed files with 7 additions and 5 deletions
|
@ -1319,12 +1319,14 @@ else
|
||||||
original_pkglist=($(run_pacman -Qq)) # required by remove_dep
|
original_pkglist=($(run_pacman -Qq)) # required by remove_dep
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if (( ! deperr )); then
|
||||||
msg "$(gettext "Checking buildtime dependencies...")"
|
msg "$(gettext "Checking buildtime dependencies...")"
|
||||||
if (( CHECKFUNC )); then
|
if (( CHECKFUNC )); then
|
||||||
resolve_deps "${makedepends[@]}" "${checkdepends[@]}" || deperr=1
|
resolve_deps "${makedepends[@]}" "${checkdepends[@]}" || deperr=1
|
||||||
else
|
else
|
||||||
resolve_deps "${makedepends[@]}" || deperr=1
|
resolve_deps "${makedepends[@]}" || deperr=1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if (( RMDEPS )); then
|
if (( RMDEPS )); then
|
||||||
current_pkglist=($(run_pacman -Qq)) # required by remove_deps
|
current_pkglist=($(run_pacman -Qq)) # required by remove_deps
|
||||||
|
|
Loading…
Add table
Reference in a new issue