diff options
Diffstat (limited to 'worker_modules')
-rw-r--r-- | worker_modules/gkbuild.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/worker_modules/gkbuild.sh b/worker_modules/gkbuild.sh index 24c6e53b..f26c27af 100644 --- a/worker_modules/gkbuild.sh +++ b/worker_modules/gkbuild.sh @@ -291,8 +291,8 @@ _initialize() { die "Unable to build ${P}: '${GK_SHARE}/gkbuilds/${PN}.gkbuild' does NOT exist!" fi - declare -gr WORKDIR=$(mktemp -d -p "${TEMP}" ${PN}_XXXXXXXX 2>/dev/null) - [ -z "${WORKDIR}" ] && die "mktemp failed!" + declare -gr WORKDIR="${TEMP}/${PN}" + mkdir "${WORKDIR}" || die "Failed to create '${WORKDIR}'!" declare -gr BROOT="${WORKDIR}/buildroot" mkdir "${BROOT}" || die "Failed to create '${BROOT}'!" |