Jan Stary <[email protected]> wrote:

> On Aug 13 08:21:55, [email protected] wrote:
> > The installer code in question is:
> > 
> >         if [[ -f /mnt/usr/bin/clang ]]; then
> >                 CVER=$(cd /mnt/usr/lib/clang && ls -r | sed -e 1q)
> >                 rm -rf -- `ls -d /mnt/usr/lib/clang/* | grep -v "${CVER}$"`
> >         fi
> > 
> > -f is used instead of -d, in case someone tweaked their install by
> > moving the space then making a symbolic link back to it.
> 
> That's [[ -f /mnt/usr/bin/clang ]], not /mnt/usr/lib/clang,
> so [[ -d /mnt/usr/bin/clang ]] wouldn't make sense, right?
> 
> > Anyways, existance then failure to cd indicates something is really
> > screwed about your machine.
> > Your mail provides insufficient information to diagnose this further.
> 
> Indeed, I didn't say I was upgrading all the way back from 6.0-current.
> Perhaps that's how (/mnt)/usr/bin/clang was already present
> without the (/mnt)/usr/lib/clang directory?

Yes, to support clang a few pieces were moved to base.  That's why.

Reply via email to