diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-12-12 21:58:57 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-12-12 21:58:57 +0000 |
commit | c68097e8607a164f363ec434f475cc10d0fc89e1 (patch) | |
tree | a8380fe48e73e3fb052cef2b50c8643a323285b2 /eclass | |
parent | Sparc stable, Bug #202087. (diff) | |
download | gentoo-2-c68097e8607a164f363ec434f475cc10d0fc89e1.tar.gz gentoo-2-c68097e8607a164f363ec434f475cc10d0fc89e1.tar.bz2 gentoo-2-c68097e8607a164f363ec434f475cc10d0fc89e1.zip |
Redirect input for cat command to /dev/null, otherwise it will hang if the list
of files is empty. Thanks to bicatali for pointing this out.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/elisp-common.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index 03b7bae76069..7084f41fc22c 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.32 2007/12/11 12:28:05 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.33 2007/12/12 21:58:57 ulm Exp $ # # Copyright 2007 Christian Faulhammer <opfer@gentoo.org> # Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org> @@ -337,7 +337,7 @@ elisp-site-regen() { ;;; Code: EOF - cat "${sflist[@]}" >>"${T}"/site-gentoo.el + cat "${sflist[@]}" </dev/null >>"${T}"/site-gentoo.el cat <<-EOF >>"${T}"/site-gentoo.el (provide 'site-gentoo) |