[Clfs-support] link to bash, CLFS book CLFS-TRUNK-SVN-20080719/ppcCLFS-TRUNK-SVN-20080719/ppc

Chris Staub chris at beaker67.com
Fri Jul 25 08:43:20 PDT 2008


Anthony Drake wrote:
> My guess is that what is intended is to create a symbolic link named 
> ${CLFS}/bin/sh that points to ${CLFS}/bin/bash, but what the command 
> syntax indicates is that the link would point to relative path ./bash at 
> command time, which seems ambiguous.
>  
> Anthony Drake, Software Engineer, RAM team
> 
> 
> ----- Original Message ----
> From: Anthony Drake <agmotorsvc at verizon.net>
> To: CLFS Support <clfs-support at lists.cross-lfs.org>
> Sent: Friday, July 25, 2008 9:36:36 AM
> Subject: [Clfs-support] link to bash, CLFS book 
> CLFS-TRUNK-SVN-20080719/ppcCLFS-TRUNK-SVN-20080719/ppc
> 
> Good morning.  In section 7.3 of book CLFS-TRUNK-SVN-20080719/ppc
> 
> the command  'ln -sv bash ${CLFS}/bin/sh' fails to find bash (first 
> arg), as did a similar command ("ln -sv bash /tools/bin/sh") in section 
> 6.6.1.
> 
> It's hard to tell which bash is being assigned.
> 
> Is the path to bash implied by the second argument, which is an explicit 
> path and filename?
> 
> I note that the other commands in this section have explicit pathnames.
> 
> Can someone please clarify?
> 
> PS build system is  Red Hat Enterprise Linux WS release 4 (Nahant Update 4)
> 
> 
Not sure what you mean "failed to find bash." The command is correct. 
The link's target "bash" is relative to the location of the link, which 
is /tools/bin (or ${CLFS}/tools/bin).



More information about the Clfs-support mailing list