diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libs/core.bash.in | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,10 @@ ChangeLog for eclectic +2005-05-15 Ciaran McCreesh <ciaranm@gentoo.org> + + * libs/core.bash.in: Don't allow eval, since it's evil and leads to + horridly broken code. + 2005-05-14 Aaron Walker <ka0ttic@gentoo.org> * libs/core.bash.in: Updated do_action() to display the correct usage diff --git a/libs/core.bash.in b/libs/core.bash.in index eafb29f..6db6e4f 100644 --- a/libs/core.bash.in +++ b/libs/core.bash.in @@ -117,4 +117,9 @@ has() { return 1 } +# make eval not work, because it's evil +eval() { + die "Don't use eval. Find another way." +} + # vim: set sw=4 et sts=4 tw=80 : |