[m-dev.] bug fix in the Morphine installation process

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Mar 7 11:26:12 AEDT 2000


On 06-Mar-2000, Erwan Jahier <Erwan.Jahier at irisa.fr> wrote:
> --- source/make_scenario.pl	2000/01/03 13:24:54	1.5
> +++ source/make_scenario.pl	2000/03/06 18:23:07
> +		print("\n*** Unable to use patch system command; patch "),
> +		print("does have the same synopsis from one system "),
> +		print("to another. Try to use the gnu version of patch "),
> +		print("instead. \n"),
> +		abort
> +	).

I suggest the following changes:

	s/gnu/GNU/
	s/patch/`patch'/

Also the message is not very clear. 
Note that "synopsis" means "summary", not "command-line argument syntax".
Also I think "does" should be "does not"?
And the message does not cover all the possible causes of failure; another
reason that this code might fail is that `patch' might not be installed at
all. 

Something like the following might be clearer:

	*** Unable to use `patch' system command.
	Make sure that you have `patch' installed and in your PATH.
	If you already have a version of `patch' installed, and it
	is not working, then try using the GNU version of patch instead.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list