[GRASS-dev] [GRASS-user] can not install addons with g.extension

Glynn Clements glynn at gclements.plus.com
Fri Feb 20 17:27:47 PST 2015


Robert Nuske wrote:

> There is at least groff.py and html.py missing in the ubuntu package. 
> No idea about 'g.echo'.

AFAIK, g.echo is only required on Windows, and only by the build
system. From include/Make/Rules.make:

	ifneq ($(MINGW),)
	mkpath = $(shell $(TOOLSDIR)/g.echo$(EXE) $(1));$(2)
	else
	mkpath = $(1):$(2)
	endif

Here, g.echo is used as a simple hack for converting filenames from
MSys format to Windows' native format. MSys' shell converts filenames
when passing them to an executable which isn't part of MSys; g.echo
just writes its sole argument (which will already have been converted)
to stdout.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list