[BUG] script specified on command line runs again when image is saved

Ned Konz ned at squeakland.org
Thu Jan 22 21:44:58 UTC 2004


On Thursday 22 January 2004 11:09 am, Ken Causey wrote:
> Following a suggestion from Goran I put together a system combinging a
> shell script and smalltalk script to auto-build a squeak directory setup
> and development image since this is something I find myself doing quite
> a lot.
>
> In the process I've found that when I save the resulting image the
> script specified on the command line is executed again.  In this case my
> script loads packages from SqueakMap2 and clearly I don't want that to
> happen again.  I guess I will make my script more intelligent.  But this
> still seems like odd behavior.  For what it's worth this is a Linux VM
> and a 3.7a-5657 image.

Yeah, I think Autostart class>>startUp should look at the resuming flag (that 
is, it should be something like:

	startUp: resuming
		resuming ifFalse: [ ^self ].

Seems to me that I may have posted a fix for this a while ago.



More information about the Squeak-dev mailing list