From f4a84c180c096ff27a077e3fc6475b99228ae9f9 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 9 Sep 2020 17:18:36 +0200 Subject: wrapper.eclass: Do not use emktemp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- eclass/wrapper.eclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'eclass') diff --git a/eclass/wrapper.eclass b/eclass/wrapper.eclass index 8cde94979d1a..399c7cc269d4 100644 --- a/eclass/wrapper.eclass +++ b/eclass/wrapper.eclass @@ -9,8 +9,6 @@ if [[ -z ${_WRAPPER_ECLASS} ]]; then _WRAPPER_ECLASS=1 -inherit eutils # for emktemp - # @FUNCTION: make_wrapper # @USAGE: [chdir] [libpaths] [installpath] # @DESCRIPTION: @@ -20,7 +18,7 @@ inherit eutils # for emktemp # libpaths followed by optionally changing directory to chdir. make_wrapper() { local wrapper=$1 bin=$2 chdir=$3 libdir=$4 path=$5 - local tmpwrapper=$(emktemp) + local tmpwrapper="${T}/tmp.wrapper.${wrapper##*/}" has "${EAPI:-0}" 0 1 2 && local EPREFIX="" ( -- cgit v1.2.3-65-gdbad