Stephane Bortzmeyer wrote:
I index from a shell script which calls mknmz. Interactively, it is OK
but, when ran from cron, it spits out a warning:
Use of uninitialized value in concatenation (.) or string at /usr/bin/mknmz
line 250.
mknmz:
246: # To support Windows. Since they have nasty drive letter
convention,
247: # it is necessary to change mknmzrc dynamically with env.
variable.
248: push @cand, $ENV{'MKNMZRC'} if defined $ENV{'MKNMZRC'};
249: push @cand, "$CONFDIR/mknmzrc";
250: push @cand, "$ENV{'HOME'}/.mknmzrc";
If Warning has been generated by the line 250, environment variable
'HOME' is undefined.
It is time when it executes it in the command line in case of occasion
for execution by 'cron', and there might be a difference in the
setting of the environment variable.
--
=====================================================================
TADAMASA TERANISHI yw3t-trns(_at_)asahi-net(_dot_)or(_dot_)jp
http://www.asahi-net.or.jp/~yw3t-trns/index.htm
Key fingerprint = 474E 4D93 8E97 11F6 662D 8A42 17F5 52F4 10E7 D14E
_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en