diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-09-09 17:18:36 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-09-12 18:03:00 +0200 |
commit | f4a84c180c096ff27a077e3fc6475b99228ae9f9 (patch) | |
tree | 6b9d59d43a984739390e348dc7049810ad0909e0 /eclass | |
parent | wrapper.eclass: New eclass, split off from eutils. (diff) | |
download | gentoo-f4a84c180c096ff27a077e3fc6475b99228ae9f9.tar.gz gentoo-f4a84c180c096ff27a077e3fc6475b99228ae9f9.tar.bz2 gentoo-f4a84c180c096ff27a077e3fc6475b99228ae9f9.zip |
wrapper.eclass: Do not use emktemp.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/wrapper.eclass | 4 |
1 files changed, 1 insertions, 3 deletions
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: <wrapper> <target> [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="" ( |