Niki Kovacs wrote:
Hi,

I'm taking up LFS again after a few weeks break. I'm following the hint for the LiveCD. Among other things, I'd like setenv.sh to test for the presence of the /tools symlink before creating it. Like this:

Does the symlink /tools exist?
No --> create it.

Now what would that look like in Bash syntax?

Why not just use the -f flag (force) and create it anyway?

ln -sfv $LFS/tools /

Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to