From c68097e8607a164f363ec434f475cc10d0fc89e1 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 12 Dec 2007 21:58:57 +0000 Subject: 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. --- eclass/elisp-common.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') 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 # Copyright 2002-2004 Matthew Kennedy @@ -337,7 +337,7 @@ elisp-site-regen() { ;;; Code: EOF - cat "${sflist[@]}" >>"${T}"/site-gentoo.el + cat "${sflist[@]}" >"${T}"/site-gentoo.el cat <<-EOF >>"${T}"/site-gentoo.el (provide 'site-gentoo) -- cgit v1.2.3-65-gdbad