Package: devscripts Version: 2.10.20 Severity: minor Tags: patch When using reportbug to report a bug against devscripts and there is no .devscripts configuration file in the home directory, the script /usr/share/bug/devscripts/script prints a harmless, but a bit annoying, warning. Consider the last line in the following output from reportbug:
$ reportbug -d -O -s 'test' -S minor -T none --body='test' \ -p devscripts >/dev/null *** Welcome to reportbug. Use ? for help at prompts. *** Detected character set: ISO-8859-1 Please change your locale if this is incorrect. Using ' <@>' as your from address. Getting status for devscripts... Verifying package integrity... Will send report to Debian (per lsb_release). Maintainer for devscripts is 'Devscripts Devel Team <[email protected]>'. Looking up dependencies of devscripts... egrep: /home/haakonst/.devscripts: No such file or directory The following simple patch is supposed to avoid the warning. It also considers the case where the file /etc/devscripts.conf has been removed. diff -Naur -- a/debian/bug/script b/debian/bug/script --- a/debian/bug/script 2008-02-24 13:25:41.000000000 +0000 +++ b/debian/bug/script 2008-03-25 23:46:52.000000000 +0000 @@ -1,8 +1,8 @@ #!/bin/sh echo "--- /etc/devscripts.conf ---" >&3 -egrep '^[^#]' /etc/devscripts.conf >&3 +egrep -s '^[^#]' /etc/devscripts.conf >&3 echo echo "--- ~/.devscripts ---" >&3 -egrep '^[^#]' $HOME/.devscripts >&3 +egrep -s '^[^#]' $HOME/.devscripts >&3 -- Package-specific info: --- /etc/devscripts.conf --- --- ~/.devscripts --- -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages devscripts depends on: ii debianutils 2.28.4 Miscellaneous utilities specific t ii dpkg-dev 1.14.16.6 package building tools for Debian ii libc6 2.7-9 GNU C Library: Shared libraries ii perl 5.8.8-12 Larry Wall's Practical Extraction ii sed 4.1.5-6 The GNU sed stream editor Versions of packages devscripts recommends: ii fakeroot 1.9.3 Gives a fake root environment -- no debconf information -- To unsubscribe, send mail to [EMAIL PROTECTED]
