John A Stevenson wrote:

> > The "script" target will attempt to make $GISBASE/scripts/$PGM.py
> > (Windows) or $GISBASE/scripts/$PGM (Unix) from ./$PGM.py 
> 
> Does it alter the file in the process?

No.

>  Could I just rename the script 
> r.denoise.py and have it copied into the scripts directory, and 
> therefore be made visible on the PATH? 
> 
> Or is that just asking for trouble/confusion?

That will probably work on Unix; on Windows, the installed script will
retain the .py extension.

I can't guarantee that it will continue to work even on Unix; if it
works at the moment, that's a coincidence, not by design.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to