On Sat, Jun 25, 2005 at 05:22:53PM +0200, Stefano Zacchiroli wrote:
> On Sat, Jun 25, 2005 at 02:07:32PM +0200, Marc Haber wrote:
> > I will consider applying a patch which will add fully-fledged search
> > path support, or reading in the path from a configuration file, but
> 
> This is precisely what came into my mind after reading Junichi's reply.
> If you guys agree on that I will provide the patch, just tell me the
> name of the option you prefer.

I think it would make most sense to do it this way:

dpatch-get-origtargz will look for the original tarball in the
directories listed in the environment variable DPGO_PATH and copy the
first it finds to the target directory requested by the caller on the
command line.

dpatch-edit-patch will read the option conf_origtargz_path from
~/.dpatch.conf and the environment variable DPEP_ORIGTARGZ_PATH and
export this as the contents of DPGO_PATH before calling
dpatch-get-origtargz.

A patch implementing this, including adaption of the dpep manpage,
would be _greatly_ appreciated.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to