[Mono-winforms-list] New svn downloader and builder script

Paul paul@all-the-johnsons.co.uk
Thu, 17 Feb 2005 20:31:09 +0000


--=-u4wDw5bzsWZk4Ugtj9Ik
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

>> First, it assumes you've done a compile before - I need to add in a
>> check for (say) ~/mono/makefile. If it's not there, run ./autogen.sh.
>
>Careful; I for one don't have it at ~/mono.  Won't ./mono/makefile do?

Should work...

>> Second, there is no check to ensure the compile was happy. If anyone can
>> suggest how best to see if the compile has completed without an error (I
>> have a feeling I'll need to listen for a signal from gcc and/or mcs on
>> that - not sure which though - I imagine SIGETERM would be the one), I'd
>> appreciate it.
>
>Can't you simply test the exit code?
>if make ; then
>    su -c "make install"
>fi
>
>or make && su -c "make install"

Hadn't thought of doing it that way, but yes.

TTFN

Paul
--=20
"I like blinking me" - Helen, Big Brother 2 contestant

--=-u4wDw5bzsWZk4Ugtj9Ik
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCFP8NusSVe5EZv3wRAnoQAJ9JUpfSOVObz9tXIJLLY6SYCNdhlQCgk5rU
MTkODLukI+MyZ4OjTD6gdZ8=
=61k7
-----END PGP SIGNATURE-----

--=-u4wDw5bzsWZk4Ugtj9Ik--