From e385041630a85e64dcfa5635352bcba253824a3e Mon Sep 17 00:00:00 2001 From: imiyazaki Date: Tue, 13 May 2003 14:55:43 +0000 Subject: [PATCH] add libchise directory to $DB_HOME. --- Chise_utils/Chise_utils.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Chise_utils/Chise_utils.pm b/Chise_utils/Chise_utils.pm index 0cdd999..193c8d8 100644 --- a/Chise_utils/Chise_utils.pm +++ b/Chise_utils/Chise_utils.pm @@ -47,7 +47,9 @@ our $VERSION = '0.01'; # Preloaded methods go here. my $DB_HOME=""; -if(-e '/usr/local/lib/xemacs-21.4.11/i686-pc-linux/char-db'){ +if(-e '/usr/local/lib/chise/char-db'){ + $DB_HOME='/usr/local/lib/chise/char-db'; +}elsif(-e '/usr/local/lib/xemacs-21.4.11/i686-pc-linux/char-db'){ $DB_HOME='/usr/local/lib/xemacs-21.4.11/i686-pc-linux/char-db'; }elsif(-e '/usr/local/lib/xemacs-21.4.11/powerpc-apple-darwin6.4/char-db'){ $DB_HOME='/usr/local/lib/xemacs-21.4.11/powerpc-apple-darwin6.4/char-db'; -- 1.7.10.4