Package: quilt Version: 0.46-6 Severity: normal Hello,
thanks for maintaining quilt. quilt's README.Debian, which is a logical boilerplate to use in packages using quilt, suggests to add this to .quiltrc: for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then export QUILT_PATCHES=debian/patches fi done This basically allows anyone who can write to a path above where I build packages to influence my build system. That is because the topmost path is in the end, and the last path found overrides the previous ones. What you really want is this: for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then export QUILT_PATCHES=debian/patches break fi done Although that snippet, in my opinion, even when fixed is still very ugly indeed. Ciao, Enrico -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages quilt depends on: ii bzip2 1.0.5-1 high-quality block-sorting file co ii diffstat 1.47-1 produces graph of changes introduc ii gettext 0.17-6 GNU Internationalization utilities ii patch 2.5.9-5 Apply a diff file to an original quilt recommends no packages. Versions of packages quilt suggests: ii graphviz 2.20.2-3+b2 rich set of graph drawing tools ii procmail 3.22-16 Versatile e-mail processor -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org