>>>>> On Sun, 7 Jul 2013, Mike Gilbert wrote:

> git-2.eclass has a similar variable called EGIT_SOURCEDIR. Maybe you
> could reuse the same convention?

In fact, I had considered this, but I think that EBZR_SOURCEDIR isn't
a good name because it's not distinctive. For example, EBZR_STORE_DIR
contains a repository of sources, too.

> Out of curiosity, I checked mercurial and subversion eclasses; they
> don't provide a variable, but do allow you to call the fetch
> function manually with a parameter to override the destination.

And they're not compatible with each other:

# @FUNCTION: subversion_fetch
# @USAGE: [repo_uri] [destination]

# @FUNCTION: mercurial_fetch
# @USAGE: [repository_uri] [module] [sourcedir]

Ulrich

Reply via email to