diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-12-12 22:05:45 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-12-12 22:05:45 +0000 |
commit | c9989d7c5599f75af12e58b276151ba48bb37531 (patch) | |
tree | c5361e09b8c3139f1275dd68319dc2dd7f8001aa | |
parent | Fix typo in comment. (diff) | |
download | emacs-c9989d7c5599f75af12e58b276151ba48bb37531.tar.gz emacs-c9989d7c5599f75af12e58b276151ba48bb37531.tar.bz2 emacs-c9989d7c5599f75af12e58b276151ba48bb37531.zip |
Redirect input of cat command to /dev/null.
svn path=/emacs-overlay/; revision=853
-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) |