[Swift-devel] Re: exceptions on failure for new url code

Mihael Hategan hategan at mcs.anl.gov
Tue Oct 2 11:40:29 CDT 2007


On Tue, 2007-10-02 at 16:31 +0000, Ben Clifford wrote:
> 
> On Tue, 2 Oct 2007, Mihael Hategan wrote:
> 
> > I'm thinking the cause here is that you were implicitly starting
> > old-version/bin/swift (probably because it was in the path).
> 
> yes.
> 
> that's caught people in the past building from source trees and will 
> continue to do so.
> 
> Removing the entire content of dist/ seems a better thing to do.
> 
> > So I think I'll leave it as it is, since it has worked reliably this way
> > for a while
> 
> it hasn't - it happens every time the version number changes.

You're generalizing particular cases. The $dist directory is not always
"dist/name-version". It can be "/usr" or "/usr/local". In which case
removing the parent directory is not a very good idea.

On the other hand removing the "dist" directory may work.

> 




More information about the Swift-devel mailing list