#111 closed defect (fixed)
export command won't work on non-bash shells
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
The book's assuming everybody has a bash shell. I just got the first report from somebody who's default shell isn't bash and thus he has to change all export LFS, export CPPFLAGS and such with the setenv equivalent on his shell.
This should be noted at least in chapter 2 - how to install the software, somewhere, that we assume bash shells. If not, susbstitute all exports with setenv or whatever the equivalents are on other shells.
It would be nicer if we can find a common command that works on both bash and the other shells (I'm not sure which shell he was using, korn perhaps, or C shell). Would setenv have the same result on bash shells? The bash man page should reveal this real quick.
A quick discussion on #lfs came to the conclusion that it was easier just to add a note to the book to tell people to use bash.. After all, they have the instructions to build it if they need them :-)