diff options
-rw-r--r-- | eclass/ChangeLog | 7 | ||||
-rw-r--r-- | eclass/elisp-common.eclass | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 4ff6509..2a463c7 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,3 +1,10 @@ +2007-12-12 Ulrich Mueller <ulm@gentoo.org> + + * elisp-common.eclass (elisp-site-regen): Redirect input of cat + command to /dev/null, otherwise it will hang if the list of files + is empty. Thanks to Sebastien Fabbro <bicatali@gentoo.org> for + pointing this out. + 2007-12-11 Ulrich Mueller <ulm@gentoo.org> * elisp-common.eclass (elisp-site-regen): Don't require -gentoo diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index f140dbd..83b385b 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -339,7 +339,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) |