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,11 +1319,13 @@ else
|
|||
original_pkglist=($(run_pacman -Qq)) # required by remove_dep
|
||||
fi
|
||||
|
||||
msg "$(gettext "Checking buildtime dependencies...")"
|
||||
if (( CHECKFUNC )); then
|
||||
resolve_deps "${makedepends[@]}" "${checkdepends[@]}" || deperr=1
|
||||
else
|
||||
resolve_deps "${makedepends[@]}" || deperr=1
|
||||
if (( ! deperr )); then
|
||||
msg "$(gettext "Checking buildtime dependencies...")"
|
||||
if (( CHECKFUNC )); then
|
||||
resolve_deps "${makedepends[@]}" "${checkdepends[@]}" || deperr=1
|
||||
else
|
||||
resolve_deps "${makedepends[@]}" || deperr=1
|
||||
fi
|
||||
fi
|
||||
|
||||
if (( RMDEPS )); then
|
||||
|
|
Loading…
Add table
Reference in a new issue