aboutsummaryrefslogtreecommitdiff
path: root/common/xbps-src/shutils/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/xbps-src/shutils/common.sh')
-rw-r--r--common/xbps-src/shutils/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh
index 5cc68599056..ff823538a08 100644
--- a/common/xbps-src/shutils/common.sh
+++ b/common/xbps-src/shutils/common.sh
@@ -5,7 +5,7 @@ run_func() {
: ${funcname:=$func}
- logpipe=$(mktemp -u --tmpdir=${XBPS_STATEDIR} ${pkgname}_${XBPS_CROSS_BUILD}_XXXXXXXX.logpipe)
+ logpipe=$(mktemp -u -p ${XBPS_STATEDIR} ${pkgname}_${XBPS_CROSS_BUILD}_XXXXXXXX.logpipe || exit 1)
logfile=${XBPS_STATEDIR}/${pkgname}_${XBPS_CROSS_BUILD}_${funcname}.log
msg_normal "${pkgver:-xbps-src}: running ${desc:-${func}} ...\n"