aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-05-15 01:40:40 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-05-15 01:40:40 +0000
commite3b5847630145c10f967ac58c290561f0acae2f7 (patch)
tree69256c5da3b87f9a4e6e1cf46cbc469e6feb6822 /libs/core.bash.in
parentUpdated do_action to display the correct usage message depending on how eclec... (diff)
downloadeselect-e3b5847630145c10f967ac58c290561f0acae2f7.tar.gz
eselect-e3b5847630145c10f967ac58c290561f0acae2f7.tar.bz2
eselect-e3b5847630145c10f967ac58c290561f0acae2f7.zip
disable eval
svn path=/trunk/; revision=102
Diffstat (limited to 'libs/core.bash.in')
-rw-r--r--libs/core.bash.in5
1 files changed, 5 insertions, 0 deletions
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 :