diff --git a/xbps-src/shutils/common_funcs.sh b/xbps-src/shutils/common_funcs.sh index 182309ce68..3d540c9376 100644 --- a/xbps-src/shutils/common_funcs.sh +++ b/xbps-src/shutils/common_funcs.sh @@ -69,7 +69,7 @@ run_func() [ -z "$1" ] && return 1 if type ${1} >/dev/null 2>&1; then - logpipe=$(mktemp -u -t xbps_${1}_${pkgname}_logpipe.XXXXXXXXXX) + logpipe=/tmp/xbps_src_logpipe.$$ if [ -d "${wrksrc}" ]; then logfile=${wrksrc}/.xbps_${1}.log else