How about adding a 'darcs pull' in there?
Slava
On 18-Jan-07, at 10:07 PM, Eduardo Cavazos wrote:
> Hello,
>
> Here's the shell script I use to rebuild the Factor vm. Mainly for
> folks new
> to Factor and UNIX. Change IMAGE and TARGET as needed. Before
> building, it
> will make a backup of your existing boot image, run-time image and
> f binary.
> Then it will download a boot image from Slava's server, compile the
> vm, and
> generate a new image. It makes a copy of the resulting pristine
> image named
> factor.image.0. This is so that if you mess up your image, you
> don't have to
> hassle with generating another image from the boot image.
>
> #!/bin/sh
>
> IMAGE=boot.image.pentium4
> TARGET=linux-x86
>
> datestamp () {
> date +%Y-%m-%d-%H-%M
> }
>
> DATESTAMP=`datestamp`
>
> mv $IMAGE $IMAGE-$DATESTAMP
> mv f f-$DATESTAMP
> mv factor.image factor.image-$DATESTAMP
>
> wget factorcode.org/images/latest/$IMAGE
> make clean
> make $TARGET
> ./f $IMAGE
> cp factor.image factor.image.0
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk