aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/core.bash.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/core.bash.in b/libs/core.bash.in
index baddfde..da35ee9 100644
--- a/libs/core.bash.in
+++ b/libs/core.bash.in
@@ -119,6 +119,12 @@ inherit() {
done
}
+# make eval not work, because it's evil
+eval() {
+ write_warning_msg "Don't use eval. Find another way."
+ builtin eval "$@"
+}
+
# GNU sed wrapper (sed or gsed, as determined by configure)
sed() {
command @SED@ "$@"