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 _______________________________________________ Quilt-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/quilt-dev
