summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-10 14:19:35 -0400
committerMike Frysinger <vapier@gentoo.org>2015-10-10 14:22:53 -0400
commit163fc1a8feb3da92b814baa2ee7b492506f4ae51 (patch)
treef03b31d038121e4d05f91c07a278a8276d110ed7 /eclass/gnome2-utils.eclass
parentsys-cluster/util-vserver: drop old coreutils/mktemp dep (diff)
downloadgentoo-163fc1a8feb3da92b814baa2ee7b492506f4ae51.tar.gz
gentoo-163fc1a8feb3da92b814baa2ee7b492506f4ae51.tar.bz2
gentoo-163fc1a8feb3da92b814baa2ee7b492506f4ae51.zip
convert `mktemp` to `emktemp` from eutils
Diffstat (limited to 'eclass/gnome2-utils.eclass')
-rw-r--r--eclass/gnome2-utils.eclass4
1 files changed, 2 insertions, 2 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" &&