makepkg: remove vestiges of global errexit
These 'set +E' diversions haven't been needed since global errexit was
disabled in dca10b062f
(January 2012).
This commit is contained in:
parent
e7fc560866
commit
cef0d726b4
1 changed files with 3 additions and 3 deletions
|
@ -276,12 +276,12 @@ resolve_deps() {
|
||||||
# deplist cannot be declared like this: local deplist=$(foo)
|
# deplist cannot be declared like this: local deplist=$(foo)
|
||||||
# Otherwise, the return value will depend on the assignment.
|
# Otherwise, the return value will depend on the assignment.
|
||||||
local deplist
|
local deplist
|
||||||
deplist="$(set +E; check_deps $*)" || exit 1
|
deplist="$(check_deps $*)" || exit 1
|
||||||
[[ -z $deplist ]] && return $R_DEPS_SATISFIED
|
[[ -z $deplist ]] && return $R_DEPS_SATISFIED
|
||||||
|
|
||||||
if handle_deps $deplist; then
|
if handle_deps $deplist; then
|
||||||
# check deps again to make sure they were resolved
|
# check deps again to make sure they were resolved
|
||||||
deplist="$(set +E; check_deps $*)" || exit 1
|
deplist="$(check_deps $*)" || exit 1
|
||||||
[[ -z $deplist ]] && return $R_DEPS_SATISFIED
|
[[ -z $deplist ]] && return $R_DEPS_SATISFIED
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -959,7 +959,7 @@ check_vcs_software() {
|
||||||
client=$(get_vcsclient "$proto") || exit $?
|
client=$(get_vcsclient "$proto") || exit $?
|
||||||
# ensure specified program is installed
|
# ensure specified program is installed
|
||||||
local uninstalled
|
local uninstalled
|
||||||
uninstalled="$(set +E; check_deps $client)" || exit 1
|
uninstalled="$(check_deps $client)" || exit 1
|
||||||
# if not installed, check presence in depends or makedepends
|
# if not installed, check presence in depends or makedepends
|
||||||
if [[ -n "$uninstalled" ]] && (( ! NODEPS || ( VERIFYSOURCE && !DEP_BIN ) )); then
|
if [[ -n "$uninstalled" ]] && (( ! NODEPS || ( VERIFYSOURCE && !DEP_BIN ) )); then
|
||||||
if ! in_array "$client" ${all_deps[@]}; then
|
if ! in_array "$client" ${all_deps[@]}; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue