[Coco] Gene's script...

Tormod Volden lists.tormod at gmail.com
Wed Jan 15 05:17:59 EST 2014


On Wed, Jan 15, 2014 at 9:57 AM, Bob Devries wrote:
> Thanks, Tormod.
>
> I have done as you suggested. I can indeed run "os9" and "lwasm -V", which
> returns "lwasm from lwtools 4.9". Is there a way (apart from a fresh pull)
> to see which version of Toolshed I have?

Unfortunately not an easy way, there will be one in Toolshed 2.2 :)
But if your Toolshed is newer than from July you should be fine. There
was only a padrom fix just before the release in November. To see if
you have this fix (and thus Toolshed 2.1), run it on a file that
already has the right size. For instance the TODO file in the nitros9
repo is 3417 bytes. So run: os9 padrom 3417 TODO
- If padrom just returns happily without saying anything, you have
Toolshed 2.1 and you are good.
- If padrom complains "padrom: file size insufficient for pad size",
it is pre-2.1.

> Gene's script just saves a lot of typing if you're doing builds regularly, I
> think.

OK. But it is not necessary to pull and rebuild lwtools and toolshed
all the time, and also not to clone the nitros9 repo over the network
each time.

The "lot of typing" is "hg pull && hg update && make dsk". If you do
builds regularly it makes sense to learn these commands.

Regards,
Tormod



More information about the Coco mailing list