diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-10-10 14:19:35 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-10-10 14:22:53 -0400 |
commit | 163fc1a8feb3da92b814baa2ee7b492506f4ae51 (patch) | |
tree | f03b31d038121e4d05f91c07a278a8276d110ed7 /eclass | |
parent | sys-cluster/util-vserver: drop old coreutils/mktemp dep (diff) | |
download | gentoo-163fc1a8feb3da92b814baa2ee7b492506f4ae51.tar.gz gentoo-163fc1a8feb3da92b814baa2ee7b492506f4ae51.tar.bz2 gentoo-163fc1a8feb3da92b814baa2ee7b492506f4ae51.zip |
convert `mktemp` to `emktemp` from eutils
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gnome2-utils.eclass | 4 | ||||
-rw-r--r-- | eclass/office-ext-r1.eclass | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass index 476fb2882370..59ab5861c356 100644 --- a/eclass/gnome2-utils.eclass +++ b/eclass/gnome2-utils.eclass @@ -15,7 +15,7 @@ # * GConf schemas management # * scrollkeeper (old Gnome help system) management -inherit multilib +inherit eutils multilib case "${EAPI:-0}" in 0|1|2|3|4|5) ;; @@ -431,7 +431,7 @@ gnome2_gdk_pixbuf_update() { fi ebegin "Updating gdk-pixbuf loader cache" - local tmp_file=$(mktemp -t tmp.XXXXXXXXXX_gdkpixbuf) + local tmp_file=$(emktemp) ${updater} 1> "${tmp_file}" && chmod 0644 "${tmp_file}" && cp -f "${tmp_file}" "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache" && diff --git a/eclass/office-ext-r1.eclass b/eclass/office-ext-r1.eclass index a7afb15e4d84..f9492a839f31 100644 --- a/eclass/office-ext-r1.eclass +++ b/eclass/office-ext-r1.eclass @@ -164,7 +164,7 @@ UNOPKG_BINARY="/usr/lib64/openoffice/program/unopkg" office-ext-r1_add_extension() { debug-print-function ${FUNCNAME} "$@" local ext=$1 - local tmpdir=$(mktemp -d --tmpdir="${T}") + local tmpdir=$(emktemp -d) debug-print "${FUNCNAME}: ${UNOPKG_BINARY} add --shared \"${ext}\"" ebegin "Adding office extension: \"${ext}\"" |