On Sun, 04 Oct 2009, Raphael Hertzog wrote: > # > # If the working directory does not contain a $QUILT_PATCHES directory, > # quilt searches for its base directory up the directory tree. If no > # $QUILT_PATCHES directory exists, the quilt operations that create > # patches will create $QUILT_PATCHES in the current working directory. > # > # When quilt is invoked from a directory below the base directory, it > # changes into the base directory, and sets $SUBDIR to the relative > # path from the base directory to the directory in which it was > # invoked. (e.g., if quilt is invoked in /usr/src/linux/drivers/net > # and the base direcory is /usr/src/linux, $SUBDIR is set to > # drivers/net/. > # > > It's not a bug, it's a feature. Closing the bug. > This is from /usr/share/quilt/scripts/patchfns (at the end).
Which of course is: - not documented (don't tell me I have to read scripts somewhere in a subsubdirectory?), from the man page: Patch files are located in the patches sub-directory of the source tree (see EXAMPLE OF WORKING TREE below). The QUILT_PATCHES environment variable can be used to override this location. The patches directory may contain sub-directories. It may also be a symbolic link instead of a directory. - is, well, a feature but as not documented quite stupid So, I leave that to you and the quilt maintainers to do what you think, but I consider it a PITA and not a feature, especially when it robs me hours of precious working time. Best wishes Norbert ------------------------------------------------------------------------------- Dr. Norbert Preining Associate Professor JAIST Japan Advanced Institute of Science and Technology prein...@jaist.ac.jp Vienna University of Technology prein...@logic.at Debian Developer (Debian TeX Task Force) prein...@debian.org gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- SCETHROG (n.) One of those peculiar beards-without-moustaches worn by religious Belgians and American scientists which help them look like trolls. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org