[GRASS5] Re: [GRASS-CVS] scott: grass/src/scripts/contrib/s.sv2svfit README,NONE,1.1 s.sv2svfit,NONE,1.1

Markus Neteler neteler at itc.it
Wed May 5 07:23:27 EDT 2004


Hi,

On Wed, May 05, 2004 at 03:49:30AM +0200, grass at intevation.de wrote:
> Author: scott
> 
> Update of /grassrepository/grass/src/scripts/contrib/s.sv2svfit
[...]
> # what to do in case of user break:
> function exitprocedure()
> {
>  echo "User break!"
>  #cleanup
>  exit 1
> }

Just a hint: The word "function" should be avoided. It
causes problems under Cygwin (AFAIK).

So:

exitprocedure()
{
 echo "User break!"
 #cleanup
 exit 1
}

Please recheck the uploads from yesterday.

Thanks,

 Markus




More information about the grass-dev mailing list