aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/w3mman/w3mman.in
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-18 16:48:02 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-18 16:48:02 +0000
commit3888822eef9cb6c5dcba2657441ec47a09fc33d0 (patch)
treeabbcbb0a7ca94e8ec13be17bbcf3d62693fe5bf4 /scripts/w3mman/w3mman.in
parent[w3m-dev 03582] add config options graphic_char and use_proxy (diff)
downloadw3m-3888822eef9cb6c5dcba2657441ec47a09fc33d0.tar.gz
w3m-3888822eef9cb6c5dcba2657441ec47a09fc33d0.zip
[w3m-dev 03583] w3mman
* scripts/w3mman/README: W3MMAN_W3M, W3MMAN_MAN * scripts/w3mman/w3mman.1.in: add ENVIRONMENT * scripts/w3mman/w3mman.in: $ENV{'W3MMAN_W3M'}, $ENV{'W3MMAN_MAN'} * scripts/w3mman/w3mman2html.cgi.in: $ENV{'W3MMAN_MAN'} hyphenation From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'scripts/w3mman/w3mman.in')
-rw-r--r--scripts/w3mman/w3mman.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/w3mman/w3mman.in b/scripts/w3mman/w3mman.in
index 0c57135..6c6f65d 100644
--- a/scripts/w3mman/w3mman.in
+++ b/scripts/w3mman/w3mman.in
@@ -1,7 +1,7 @@
#!@PERL@
-@W3M = split(' ', '@W3M@');
-$ENV{'MAN'} = '@MAN@';
+@W3M = split(' ', $ENV{'W3MMAN_W3M'} || '@W3M@');
+$ENV{'W3MMAN_MAN'} ||= '@MAN@';
$SCRIPT = 'file:///$LIB/w3mman2html.cgi';
sub usage {