[Build-common-hackers] Bug#296763: Typos in /usr/share/cdbs/1/rules/dpatch.mk

Martin Quinson Martin Quinson <mquinson@debian.org>, 296763@bugs.debian.org
Thu, 24 Feb 2005 15:16:42 +0100


Package: cdbs
Version: 0.4.27-1
Severity: normal

The test for config.* files is broken in dpatch. It reads:

<<<<<<<<<<
evil_patches_that_do_nasty_things := $(shell\
if lsdiff=`which lsdiff` ; then \
  $$lsdiff -H $(DEB_PATCHES) \
  | egrep "/config\.(guess|sub|rpath)$" | tr "\n" " " ; \
fi)
ifneq (, $(evil_patches_that_do_nasty_things))
$(warning WARNING:  The following patches are modifiing auto-updated files.  This can result in serious trouble:
$(evil_patches_that_do_nasty_things))
endif
>>>>>>>>>>

- The egrep line misses an extra $ (double the dollar sign, please)
- s/modifiing/modifying/

Thanks for the example anyway, ;)
Mt

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

-- no debconf information