On Wed, 25 Jan 2006, John Morrison wrote:

> Change Log
> ----------
> 3.7-1
>     [snip]
>     * Follow links in /etc/profile.d - Max Bowsher

One small problem with this change: FWICS, the files will be found all
right, but the symlinks will later be ignored by the "if" test.  For this
to work, 'if [ -f "${f}" ]; then' needs to be changed to 'if [ -f "${f}"
-o -l "${f}" ]; then'.  Actually, the whole "if" test seems redundant to
me anyway, now that you're doing "find -type f"...
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_            [EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'           old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

Reply via email to