From: imiyazaki Date: Tue, 13 May 2003 14:55:43 +0000 (+0000) Subject: add libchise directory to $DB_HOME. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e385041630a85e64dcfa5635352bcba253824a3e;p=chise%2Fperl.git add libchise directory to $DB_HOME. --- 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';