Opened 16 years ago
Closed 16 years ago
#2199 closed defect (fixed)
Making the LFS book from SVN 8551 failed for me
Reported by: | Gunter Liszewski | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
Proposed Changes
Making the LFS failed for me. To fix the problem I corrected a typo in process-scripts.sh. '=' is the correct string comparison operator.
I also replaced 'sh' with 'bash' in the Makefile, because an error during the make reported that 'popd', and 'pushd' are not available while running in the 'sh' shell.
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
The == construct is correct for bash. You may be using sh as a symbolic link to something other than bash.
I will change #!/bin/sh to #!/bin/bash in process-scripts.sh. The change from sh to bash in the Makefile should not be required, because the first lines of both scripts now specify bash, but I made them anyway.
Also, do not put a relatively long diff in the ticket description. Put it in a comment or an attachment.
Updated the diff
Using 'make nochunks' gives a similar problem. To fix, I replaced 'sh' with 'bash'. The 'sh' shell complained about the 'cp' syntax.
snv diff