[Starkit] sdx fails to find .vfs directory
Adrian Ho
ll-starkit at 03s.net
Sat Oct 2 23:39:51 CEST 2004
On Fri, Oct 01, 2004 at 01:39:03PM +0200, David Zolli wrote:
> It could be done this way too :
>
> set idir [file root [file tail $out]].vfs
> if {![file exists $idir] || ![file isdirectory $idir]} {
> set idir [file tail $out].vfs
> }
>
> I think this wouldn't break anything.
Not that I can tell, though the [file exists] test is redundant ([file
isdirectory] doesn't throw an error if $dir doesn't exists).
Still, my patch allows one to break the naming dependency between
kit/pack and source dir (which I didn't make clear in my original reply).
If anyone runs into any problems using it, I'd appreciate hearing
about it.
- Adrian
More information about the Starkit
mailing list