projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c125a
)
Zwei console Includes optional machen.
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 23 Jul 2010 12:13:36 +0000
(14:13 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 23 Jul 2010 12:13:36 +0000
(14:13 +0200)
Sind beide nicht absolut notwendig.
scripts/console
patch
|
blob
|
history
diff --git
a/scripts/console
b/scripts/console
index
d7679d0
..
6a9d000
100755
(executable)
--- a/
scripts/console
+++ b/
scripts/console
@@
-12,7
+12,9
@@
BEGIN {
use Config::Std;
use Data::Dumper;
use Devel::REPL 1.002001;
-use Term::ReadLine::Perl::Bind; # use sane key binding for rxvt users
+eval {
+require Term::ReadLine::Perl::Bind; # use sane key binding for rxvt users
+};
read_config 'config/console.conf' => my %config;# if -f 'config/console.conf';
@@
-90,7
+92,7
@@
sub load {
}
sub reload {
-
us
e Module::Reload;
+
requir
e Module::Reload;
Module::Reload->check();
return "modules reloaded";