Hello,
I'm new to ConTeXt, and I find it great!
I've done the standalone installation on my Linux box. For many reasons,
I don't use bash, but ksh since all my customers are using ksh as there
shell.
Nevertheless, the setuptex is not working for me.
Of course it works if I say
. ~/context/tex/setuptex ~/context/tex
But I would like to have it in the short form:
. ~/context/tex/setuptex
So for that in ksh, I needed to correct the setuptex like that:
line 99:
if [ z"$BASH_SOURCE" != z ]; then
SCRIPTPATH="$BASH_SOURCE"
else
if [ z"${.sh.version}" != z ]; then
SCRIPTPATH="${.sh.file}"
else
SCRIPTPATH="$0"
fi
fi
And now, it works for ksh93, and all the other shells should be unaffected.
Would it be possible to correct it? Or if someone has a better idea,
then I'm also ok, as long as it works for ksh.
Sincerely yours,
Alessandro Perucchi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________