login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
17
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Sam Ravnborg <sam@...>
To: Andreas Mohr <andi@...>
Cc: Randy Dunlap <rdunlap@...>, Herbert Xu <herbert@...>, Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>
Subject:
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
Date: Saturday, November 17, 2007 - 1:28 pm
On Sat, Nov 17, 2007 at 05:33:27PM +0100, Andreas Mohr wrote:
quoted text
> Hi, > > On Wed, Nov 14, 2007 at 02:46:27PM -0800, Randy Dunlap wrote: > > On Mon, 5 Nov 2007 20:58:27 +0100 Andreas Mohr wrote: > > > Feel free to go ahead, otherwise I'll try another patch sometime soon. > > > All I care about is that the result works on (at least) > > > one shell implementation _more_ than the current status ;) > > > > Hi Andreas, > > > > Can you comment on (or test) whether this patch is sufficient > > for your needs? And if so, is the Signed-off-by: A.M. OK? > > Sorry, no, using dash (0.5.3-5) there's still a remaining > > $ linux-2.6.22/scripts/patch-kernel linux-2.6.22 /usr/src/patch-2.6 > Current kernel version is 2.6.22 ( Holy Dancing Manatees, Batman!) > linux-2.6.22/scripts/patch-kernel: 207: Syntax error: Bad substitution > > error in the > > # strip EXTRAVERSION to just a number (drop leading '.' and trailing additions) > EXTRAVER= > if [ x$EXTRAVERSION != "x" ] > then > >>> [l.207] if [ ${EXTRAVERSION:0:1} == "." ]; then > EXTRAVER=${EXTRAVERSION:1} > else > EXTRAVER=$EXTRAVERSION > fi > EXTRAVER=${EXTRAVER%%[[:punct:]]*} > #echo "$PNAME: changing EXTRAVERSION from $EXTRAVERSION to $EXTRAVER" > fi > > part, which the sed expression (moderately successfully) tried to > take care of. > > The good part of the story is that the current corrected almost fully > working version still works with bash (3.1dfsg-8), just like the > original patch-kernel version.
Could you (or Randy) fix it up with the comment from Herbert and submit the final version to me (with proper changelog and s-o-b). Thanks, Sam -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Andreas Mohr
, (Wed Oct 31, 5:13 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Adrian Bunk
, (Sat Nov 17, 1:24 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Randy Dunlap
, (Wed Oct 31, 6:24 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Andreas Mohr
, (Thu Nov 1, 8:11 am)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Randy Dunlap
, (Thu Nov 1, 11:24 am)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Andreas Mohr
, (Thu Nov 1, 6:16 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Randy Dunlap
, (Thu Nov 1, 7:08 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Herbert Xu
, (Thu Nov 1, 10:01 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Andreas Mohr
, (Fri Nov 2, 4:09 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Randy Dunlap
, (Fri Nov 2, 4:17 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Andreas Mohr
, (Mon Nov 5, 3:58 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Randy Dunlap
, (Wed Nov 14, 6:46 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Andreas Mohr
, (Sat Nov 17, 12:33 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Sam Ravnborg
, (Sat Nov 17, 1:28 pm)
[PATCH] eradicate bashisms in scripts/patch-kernel
, Andreas Mohr
, (Sat Nov 17, 4:51 pm)
Re: [PATCH] eradicate bashisms in scripts/patch-kernel
, Randy Dunlap
, (Wed Jan 2, 7:00 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel
, Herbert Xu
, (Sat Nov 17, 12:43 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
David Chinner
Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.
Andrew Morton
-mm merge plans for 2.6.23
Trent Piepho
Re: [PATCH] [POWERPC] Improve (in|out)_beXX() asm code
git
:
linux-netdev
:
David Miller
Re: iptables very slow after commit784544739a25c30637397ace5489eeb6e15d7d49
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
8 users
and
817 guests
online.
Online users
ukarimonies
netaict
pastliferegres
hotelyymod
filebankruptcy
selfhelpspirit
naturalskinctgn
thechpstyahihs
Syndicate