Ralf Barkow wrote:
>
> BTW: The pwd built into bash seems buggy. If I cd into a dir with
> relative path it works fine, but if I give absolute path, then
> bash's pwd slurs over the first two characters:
Not here:
[prospero|m:/]cd mozilla
[prospero|m:/mozilla]pwd
/mozilla
[prospero|m:/mozilla]cd /mozilla/
[prospero|m:/mozilla]pwd
/mozilla
with GNU bash, version 2.00.0(266)-release (i386-ibm-os2).
The S2 looks like a substitution variable coming from a typo such as
s/$S1/S2/ somewhere. Do you have .bashos2 and .bashrc in HOME and
BASH_STARTUP=~/.bashos2 set?
> I'm going to work around this by adding "X:" (drive letter of the UnixOS2
> TVFS drive) in front of each topsrcdir, srcdir and VPATH in all the
> Makefiles. Oh, Holy Jesus, isn't this configure's job? How can I change
> each topsrcdir, srcdir and VPATH in all the Makefiles?
configure runs build/autoconf/acoutput-fast.pl to do the substitutions
and generate the Makefiles. It should be easy to tweak there, though I
would suggest focusing on the real problem (buggy bash) rather than muck
around with the build machinery. When you can go pwd and not get S2, the
rest should fall into place and work as intended.
h~