On Sat, 21 Oct 2000, Chris Abbey wrote:

>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??

Try debugging using "set -vx" and disabling it with "set -"


----------------------------------------------------------------------
      Mike A. Harris  -  Linux advocate  -  Open source advocate
              Computer Consultant - Capslock Consulting
                 Copyright 2000 all rights reserved
----------------------------------------------------------------------

"If it isn't source, it isn't software."  -- NASA



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to