From: imiyazaki Date: Fri, 28 Mar 2003 14:39:50 +0000 (+0000) Subject: make path general. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a04c4897c2586fe12b87c0dc4b8e6bf2f087b6b;p=chise%2Fomega.git make path general. --- diff --git a/make_omegadb.pl b/make_omegadb.pl index 3794eaa..f66a5a8 100644 --- a/make_omegadb.pl +++ b/make_omegadb.pl @@ -54,8 +54,8 @@ Usage: perl $0 This creates the databases required by Omega/CHISE. EOF -#my $cmapdir="/usr/local/share/texmf/dvipdfm/CMap-AcrobatReader5.0"; -#my $db_home="./omegadb"; +#my $cmapdir="/usr/local/share/texmf/dvipdfm/CMap"; +#my $db_home="$HOME/.chise"; if(@ARGV==2){ $cmapdir=shift; $db_home=shift; diff --git a/makefonts.pl b/makefonts.pl index 8c0146e..7ef95b5 100755 --- a/makefonts.pl +++ b/makefonts.pl @@ -8,13 +8,13 @@ use IO::Socket::INET; use BerkeleyDB; my $kageaddr="kage2.fonts.jp:80"; # Specify port number! -my $t1asm = "/sw/bin/t1asm"; # point to 't1asm' executable. +my $t1asm = "/usr/local/bin/t1asm"; # point to 't1asm' executable. die "Cannot execute $t1asm. Abort.\n" unless -x $t1asm; -my $pfaedit="/Users/izumi/work/fonteditor/pfaedit/pfaedit/pfaedit"; # point to 'pfaedit' executable. +my $pfaedit="/usr/local/bin/pfaedit"; # point to 'pfaedit' executable. die "Cannot execute $pfaedit. Abort.\n" unless -x $pfaedit; my $cleanup_script="svg2t1.pfe"; # Set the name of pfaedit script. -my $dbpath="/Users/izumi/.chise/glyph.db"; # Set to your DB path. +my $dbpath="$HOME/.chise/glyph.db"; # Set to your DB path. # Open Glyph Database my $db = new BerkeleyDB::Hash -Filename => $dbpath, -Flags => DB_CREATE diff --git a/outCMAP b/outCMAP index a465c8d..28c4606 100755 --- a/outCMAP +++ b/outCMAP @@ -33,8 +33,7 @@ if($perl58){ binmode(STDOUT, ':encoding(utf8)'); } -#$omegadb_home="/home/ttomabec/.chise"; -$omegadb_home="/Users/izumi/.chise"; +$omegadb_home="$HOME/.chise"; &GetOptions("in=s"=>\$opt_in_cs, "i=s"=>\$opt_in_cs,