diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2012-04-25 10:35:55 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2012-04-25 10:35:55 +0000 |
commit | 18ec44d9c7bbc3ebc1ba4f42412f94552a76c8a5 (patch) | |
tree | e76779cb40b666c7a65a1a91d228d12a528fefa2 /app-emulation/emul-linux-x86-gtklibs | |
parent | sync pango-querymodules usage with emul-linux-x86-gtklibs (diff) | |
download | historical-18ec44d9c7bbc3ebc1ba4f42412f94552a76c8a5.tar.gz historical-18ec44d9c7bbc3ebc1ba4f42412f94552a76c8a5.tar.bz2 historical-18ec44d9c7bbc3ebc1ba4f42412f94552a76c8a5.zip |
check if mktemp returned the expected path
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
RepoMan-Options: --force
Diffstat (limited to 'app-emulation/emul-linux-x86-gtklibs')
4 files changed, 35 insertions, 6 deletions
diff --git a/app-emulation/emul-linux-x86-gtklibs/ChangeLog b/app-emulation/emul-linux-x86-gtklibs/ChangeLog index 66ca1a8c4a81..8a7519495744 100644 --- a/app-emulation/emul-linux-x86-gtklibs/ChangeLog +++ b/app-emulation/emul-linux-x86-gtklibs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/emul-linux-x86-gtklibs # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.101 2012/04/25 10:02:24 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.102 2012/04/25 10:35:55 lxnay Exp $ + + 25 Apr 2012; Fabio Erculiani <lxnay@gentoo.org> + emul-linux-x86-gtklibs-20110928.ebuild, + emul-linux-x86-gtklibs-20120127.ebuild: + check if mktemp returned the expected path 25 Apr 2012; Fabio Erculiani <lxnay@gentoo.org> emul-linux-x86-gtklibs-20110928.ebuild, diff --git a/app-emulation/emul-linux-x86-gtklibs/Manifest b/app-emulation/emul-linux-x86-gtklibs/Manifest index e0d357ac2199..bf6c00b32a89 100644 --- a/app-emulation/emul-linux-x86-gtklibs/Manifest +++ b/app-emulation/emul-linux-x86-gtklibs/Manifest @@ -1,6 +1,6 @@ DIST emul-linux-x86-gtklibs-20110928.tar.xz 4783132 RMD160 7baa8042badb97ef0d0fb9f1f12256491e6ae359 SHA1 af03a1a5be483607e0b2c51f3309ef74235fcc52 SHA256 13e0cf9e36f7079f73af513052667eaf7fc2b80b428a2b670fb2c0b64c47a60b DIST emul-linux-x86-gtklibs-20120127.tar.xz 6119504 RMD160 0c5d7351814051b908426a7dbad28eab91156a80 SHA1 bfcaf11d92eec9afcffd7f7ee945e743429fb134 SHA256 737999cff634581aae4a311520a410b268116ac18156245354d17d46b964600b -EBUILD emul-linux-x86-gtklibs-20110928.ebuild 2912 RMD160 b69c5df9829e780247cc7c26c37ec428555651ad SHA1 9959f6e3cce7289456ea9d2d68b150a4fb001ad3 SHA256 d62b14c28475c4942de1e7f24ed128a5807f2dd75d2f2f966d5e479701330923 -EBUILD emul-linux-x86-gtklibs-20120127.ebuild 2916 RMD160 720637080c28a7cc3232f116d40a7223e652cd1d SHA1 06030ba7c74831d593632f2c8d8737ecf4efcbbf SHA256 9b75e5b7824729007a762bf6c5ba075f254109af83de5c945dfa94101a62ad12 -MISC ChangeLog 17899 RMD160 3c922c5edcc717aa37a7850598b9bd1fd6b419eb SHA1 4894e10f721237f534305a125e23467fefe2bc31 SHA256 ea094d89b72df3834151d0db2e76624b08573065b222761b58c8a39ecb7de95b +EBUILD emul-linux-x86-gtklibs-20110928.ebuild 3167 RMD160 1d134532479ed3f259788af2cf09e19f938a300e SHA1 089eec74cc5758614455a8cb2da738fe45d21259 SHA256 5fe983a5d6fda36add261b6b008b686c7b4e80f22e0aa15d3a4eb01e68636fe8 +EBUILD emul-linux-x86-gtklibs-20120127.ebuild 3171 RMD160 4e6e1ff4e2c2deca81e55efec2fee4be5ffb3efb SHA1 4b010225a694a3ae87b49c202607508bf81711a8 SHA256 06268d0d5674ea413e9146d41ee7b2d25a56c19f7c90d45fad7414b07b29c137 +MISC ChangeLog 18079 RMD160 046b7274d41b637f75126427f0961bcb484c1d3d SHA1 2587ebd2b65b36e9244de70680feba360a45c94c SHA256 53fd1fe91fb0023054ccf4d28e11e277faba2d431bda8f715fba665d53eb2dbc MISC metadata.xml 225 RMD160 a4128fba81c97533725f589d51de117055011d3b SHA1 873f20f8dbcaf11a00b55546daaebd1ec63a657c SHA256 0ce288a649a1cbdf01d699a90300d341736ab0fd3456fd1002e2ffa8d409f453 diff --git a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild index f41678a1c5fd..c8ca162d531e 100644 --- a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild +++ b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild,v 1.10 2012/04/25 10:02:24 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20110928.ebuild,v 1.11 2012/04/25 10:35:55 lxnay Exp $ EAPI="4" @@ -20,6 +20,10 @@ my_gdk_pixbuf_query_loaders() { unset __GL_NO_DSO_FINALIZER local tmp_file=$(mktemp -t tmp.XXXXXXXXXXgdk_pixbuf_query_loaders) + if [ -z "${tmp_file}" ]; then + ewarn "Cannot create temporary file" + return 1 + fi if gdk-pixbuf-query-loaders32 > "${tmp_file}"; then cat "${tmp_file}" > "${ROOT}usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders.cache" @@ -36,6 +40,10 @@ my_pango_querymodules() { mkdir -p "${PANGO_CONFDIR}" local pango_conf="${PANGO_CONFDIR}/pango.modules" local tmp_file=$(mktemp -t tmp.XXXXXXXXXXpango_querymodules) + if [ -z "${tmp_file}" ]; then + ewarn "Cannot create temporary file" + return 1 + fi if pango-querymodules32 > "${tmp_file}"; then cat "${tmp_file}" > "${pango_conf}" @@ -52,6 +60,10 @@ my_gtk_query_immodules() { mkdir -p "${GTK2_CONFDIR}" local gtk_conf="${ROOT}${GTK2_CONFDIR}/gtk.immodules" local tmp_file=$(mktemp -t tmp.XXXXXXXXXXgtk_query_immodules) + if [ -z "${tmp_file}" ]; then + ewarn "Cannot create temporary file" + return 1 + fi if gtk-query-immodules-2.0-32 > "${tmp_file}"; then cat "${tmp_file}" > "${gtk_conf}" diff --git a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild index 41868d08db30..a3c1a43fa931 100644 --- a/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild +++ b/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild,v 1.8 2012/04/25 10:02:24 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20120127.ebuild,v 1.9 2012/04/25 10:35:55 lxnay Exp $ EAPI="4" @@ -20,6 +20,10 @@ my_gdk_pixbuf_query_loaders() { unset __GL_NO_DSO_FINALIZER local tmp_file=$(mktemp --suffix=tmp.XXXXXXXXXXgdk_pixbuf_queryloaders) + if [ -z "${tmp_file}" ]; then + ewarn "Cannot create temporary file" + return 1 + fi if gdk-pixbuf-query-loaders32 > "${tmp_file}"; then cat "${tmp_file}" > "${ROOT}usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders.cache" @@ -36,6 +40,10 @@ my_pango_querymodules() { mkdir -p "${PANGO_CONFDIR}" local pango_conf="${PANGO_CONFDIR}/pango.modules" local tmp_file=$(mktemp -t tmp.XXXXXXXXXXpango_querymodules) + if [ -z "${tmp_file}" ]; then + ewarn "Cannot create temporary file" + return 1 + fi if pango-querymodules32 > "${tmp_file}"; then cat "${tmp_file}" > "${pango_conf}" @@ -52,6 +60,10 @@ my_gtk_query_immodules() { mkdir -p "${GTK2_CONFDIR}" local gtk_conf="${ROOT}${GTK2_CONFDIR}/gtk.immodules" local tmp_file=$(mktemp -t tmp.XXXXXXXXXXgtk_query_immodules) + if [ -z "${tmp_file}" ]; then + ewarn "Cannot create temporary file" + return 1 + fi if gtk-query-immodules-2.0-32 > "${tmp_file}"; then cat "${tmp_file}" > "${gtk_conf}" |