I'm trying to write a script to automate the building of a symlink
farm for the live NFS install tree from two CDs or ISOs... it
would have been done hours ago except that I can't get basename
to work inside a backtick expression like this:
ln -s $fil `basename $fil`
where fil=/isos/rh/1/RedHat/base/comps and the end result of
what I want is:
ln -s /isos/rh/1/RedHat/base/comps comps
but what I end up with is:
ln -s /isos/rh/1/RedHat/base/comps /isos/rh/1/RedHat/base/comps
basename works fine normaly from the command line:
~> basename /isos/rh/1/RedHat/base/comps
comps
~>
anybody got an idea??
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list