Package: dpkg-dev Version: 1.13.25 Severity: important Tags: patch dpkg-buildpackage seems to be making use of bash features, which makes it a bash script rather than an sh script.
Attached patch fixes the shebang accordingly. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/posh Kernel: Linux 2.6.18-4-amd64 Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8) Versions of packages dpkg-dev depends on: ii binutils 2.17-3 The GNU assembler, linker and bina ii cpio 2.6-17 GNU cpio -- a program to manage ar ii dpkg 1.13.25 package maintenance system for Deb ii make 3.81-3 The GNU version of the "make" util ii patch 2.5.9-4 Apply a diff file to an original ii perl [perl5] 5.8.8-7 Larry Wall's Practical Extraction ii perl-modules 5.8.8-7 Core Perl modules Versions of packages dpkg-dev recommends: ii bzip2 1.0.3-6 high-quality block-sorting file co ii gcc [c-compiler] 4:4.1.1-15 The GNU C compiler ii gcc-3.4 [c-compiler] 3.4.6-5 The GNU C compiler ii gcc-4.0 [c-compiler] 4.0.3-7 The GNU C compiler ii gcc-4.1 [c-compiler] 4.1.1-21 The GNU C compiler -- no debconf information
diff -ur dpkg-1.13.25.old/scripts/dpkg-buildpackage.sh dpkg-1.13.25/scripts/dpkg-buildpackage.sh --- dpkg-1.13.25.old/scripts/dpkg-buildpackage.sh 2006-06-21 04:35:01.000000000 +0200 +++ dpkg-1.13.25/scripts/dpkg-buildpackage.sh 2007-05-04 15:23:06.000000000 +0200 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e

