xbps-src: exit properly if mktemp(1) fails, not from its subshell.
Thanks @huglovefan
This commit is contained in:
@@ -64,7 +64,7 @@ show_pkg_build_depends() {
|
||||
local f x _pkgname _srcpkg _dep found result
|
||||
local _deps="$1"
|
||||
|
||||
result=$(mktemp || exit 1)
|
||||
result=$(mktemp) || exit 1
|
||||
|
||||
# build time deps
|
||||
for f in ${_deps}; do
|
||||
|
||||
Reference in New Issue
Block a user