Subject: quilt: Quilt tries to write into series also if it is a directory Package: quilt User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu karmic ubuntu-patch Version: 0.46-8 Severity: normal Tags: patch
If QUILT_PATCHES=debian/patches is set and there is a directory called "series" in the source tree quilt tries to write into this directory.
It would be better if it used debian/patches/series instead in this case. In Ubuntu, we've applied the attached patch to achieve the following: * debian/patches/check_series_is_no_dir: - Check that series is no directory. (LP: #428657) We thought you might be interested in doing the same. -- System Information: Debian Release: squeeze/sid APT prefers karmic-updates APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31-10-generic (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u quilt-0.46/debian/patches/series quilt-0.46/debian/patches/series --- quilt-0.46/debian/patches/series +++ quilt-0.46/debian/patches/series @@ -20,0 +21 @@ +check_series_is_no_dir only in patch2: unchanged: --- quilt-0.46.orig/debian/patches/check_series_is_no_dir +++ quilt-0.46/debian/patches/check_series_is_no_dir @@ -0,0 +1,13 @@ +Index: quilt-0.46/quilt/scripts/patchfns.in +=================================================================== +--- quilt-0.46.orig/quilt/scripts/patchfns.in 2009-09-13 01:23:46.230905410 +0200 ++++ quilt-0.46/quilt/scripts/patchfns.in 2009-09-13 01:25:53.242973129 +0200 +@@ -931,7 +931,7 @@ + elif [ -e $QUILT_PC/series ] + then + SERIES=$QUILT_PC/series +-elif [ -e series ] ++elif [ -e series -a ! -d series ] + then + SERIES=series + else