aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--libs/core.bash.in5
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 16b6fa9..0993744 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 :