Andreas Bernauer <andreas.bernauer@gmx.de> writes:
> Hi,
>
> I find the following error message of scsh not very informative, as I
> could not figure out, what the problem was:
>
> [andreas@hgt andreas]$ export SCSH_LIB_DIRS=/home/andreas/bin/lib/scsh/modules
> [andreas@hgt andreas]$ scsh -lel sunet-2.1 -o handle-fatal-error -e '1'
>
> Error: Illegal path element in $SCSH_LIB_DIRS
> "/home/andreas/bin/lib/scsh/modules"
> /home/andreas/bin/lib/scsh/modules
>
> I'd find the following error message better:
>
> Illegal path element in $SCSH_LIB_DIRS: not a string or #f.
>
> or:
>
> Not a string or #f in $SCSH_LIB_DIRS.
>
> What do you think?
How about:
Error: Illegal path element in $SCSH_LIB_DIRS
$SCSH_LIB_DIRS:
"#f /afs/wsi/share/scsh-modules"
The following element is not a string or #f:
/afs/wsi/share/scsh-modules
--
Martin
|