aboutsummaryrefslogtreecommitdiff
path: root/common/xbps-src/shutils/pkgtarget.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/xbps-src/shutils/pkgtarget.sh')
-rw-r--r--common/xbps-src/shutils/pkgtarget.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xbps-src/shutils/pkgtarget.sh b/common/xbps-src/shutils/pkgtarget.sh
index 931816068dd..bb2c01149e6 100644
--- a/common/xbps-src/shutils/pkgtarget.sh
+++ b/common/xbps-src/shutils/pkgtarget.sh
@@ -48,7 +48,7 @@ remove_pkg_autodeps() {
cd $XBPS_MASTERDIR || return 1
msg_normal "${pkgver:-xbps-src}: removing autodeps, please wait...\n"
- tmplogf=$(mktemp)
+ tmplogf=$(mktemp || exit 1)
remove_pkg_cross_deps
$XBPS_RECONFIGURE_CMD -a >> $tmplogf 2>&1