[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#291107: marked as done (kernel-patch-debian-2.6.9: bashism in apply/debian file)



Your message dated Fri, 28 Apr 2006 23:14:06 +0200
with message-id <20060428211406.GB4012@wavehammer.waldi.eu.org>
and subject line Fixed in 2.6.16
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kernel-patch-debian-2.6.9
Version: 2.6.9-5
Severity: normal

	The file apply/debian (/usr/src/kernel-patches/all/2.6.9/apply/debian
	in my system) has a bashism in line 160:

	for base in $((cd $home/series/ && ls -d *) | sort -rnt- -k 2); do

	I have dash as /bin/sh. So, when I try to apply the patch with
	"make-kpkg --added-patches debian", it goes like this:

/usr/src/kernel-patches/all/2.6.9/apply/debian: 160: Syntax error: Missing '))'

	I think the solution would be to change the "$(...)" stuff for a
	backquote block (i.e., "`...`") or to specify /bin/bash as the shell
	to use with this script. I've opted for the latter, but the former
	looks prettier :-)

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-k7
Locale: LANG=gl:es:en, LC_CTYPE=gl:es:en (charmap=ISO-8859-1) (ignored: LC_ALL set to gl_ES)

Versions of packages kernel-patch-debian-2.6.9 depends on:
ii  bzip2                         1.0.2-3    high-quality block-sorting file co

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.6.16-1

In 2.6.16, the apply script was completely rewritten.

Bastian

-- 
Vulcans do not approve of violence.
		-- Spock, "Journey to Babel", stardate 3842.4

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: