[Bug 342] New: replace the "cd dir && ln" commands with a single ln command

Gerard Beekmans gerard at linuxfromscratch.org
Wed May 1 18:35:36 PDT 2002


On Wed, May 01, 2002 at 05:28:16PM -0700, Jesse Tie-Ten-Quee wrote:
> Yo,
> 
> On Wed, May 01, 2002 at 12:21:14PM -0700, bugzilla at linuxfromscratch.org wrote:
> > cd $LFS/bin &&
> > ln -sf bash sh
> > 
> > Change to:
> > 
> > ln -s bash $LFS/bin/sh
> 
> Uh, isn't this a bad idea?  Links are relative.  So if you don't create
> this link in $LFS/bin, it wont be in the correct place... maybe i'm just
> missing something.

that will still create a relative link 'sh' pointing to 'bash' in the same
directory where 'sh' is created.

I guess the easiest way to see it is by simply trying it out yourself...


-- 
Gerard Beekmans
gerard at linuxfromscratch.org
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list