Skip to content

Commit

Permalink
wrapper.eclass: Do not use emktemp.
Browse files Browse the repository at this point in the history
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Sep 12, 2020
1 parent 5b4288a commit f4a84c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions eclass/wrapper.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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=""

(
Expand Down

0 comments on commit f4a84c1

Please sign in to comment.