From: Wolfgang Denk Date: Wed, 10 Sep 2008 11:09:54 +0200 Subject: [U-Boot] [PATCH] autoscr: Fix one-character lines and non-newline terminated scripts In-Reply-To: <1221029029-16157-1-git-send-email-petri.lehtinen@inoi.fi> References: <> <1221029029-16157-1-git-send-email-petri.lehtinen@inoi.fi> Message-ID: <20080910090954.23FC0248B8@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Petri Lehtinen, In message <1221029029-16157-1-git-send-email-petri.lehtinen@inoi.fi> you wrote: > When not using hush, the autoscr command now executes lines that are > only one character long. It also runs the last line of scripts even if > it does not end in a newline. > > Signed-off-by: Petri Lehtinen > --- > common/cmd_autoscript.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The rule on staying alive as a program manager is to give 'em a num- ber or give 'em a date, but never give 'em both at once.