quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] Re: [RFC] Conditional diff/refresh opts depending on the sou


From: Jean Delvare
Subject: [Quilt-dev] Re: [RFC] Conditional diff/refresh opts depending on the source - patch as attachement
Date: Fri, 22 Jan 2010 17:26:19 +0100
User-agent: KMail/1.9.1

Le vendredi 22 janvier 2010 15:38, Andreas Krebbel a écrit :
> Hi Jean,
> 
> > You know, ~/.quiltrc is a bash script. If you like conditionals,
> > feel tree to just code them using the bash syntax in your ~/.quiltrc
> > file. This will be even more flexible that your proposal, and doesn't
> > require any change to quilt.
> 
> Thinking about that I think it wouldn't work that easily. The quiltrc file
> is sourced in at the very beginning of patchfns before quilt cd'ed into
> the source root directory. So the logic patchfns uses to locate the root
> dir of the source tree would have to be duplicated into quiltrc (and has to
> be kept up-to-date) - correct?!

Assuming you have a rough idea of where your working directories live,
no, that wouldn't be a problem: you can simply check if the beginning
of `pwd` matches a known pattern. No need to know the exact root.

-- 
Jean Delvare
Suse L3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]