[w3m-dev 02690] RC_DIR in scripts

From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2001-12-21 20:30:54 +00:00
parent 430dc7dd32
commit 94f1eed72c
7 changed files with 47 additions and 10 deletions

View File

@@ -15,8 +15,7 @@ else {
$WIN32 = 0;
$CYGPATH = 0;
}
$RC_DIR = '~/.w3m/';
$RC_DIR = '@RC_DIR@';
$RC_DIR =~ s@^~/@$ENV{'HOME'}/@;
if ($CYGPATH) {
$RC_DIR = &cygwin_pathconv("$RC_DIR");