Re: [PATCH] scripts: decodecode: use /bin/bash

From: Randy Dunlap
Date: Thu Jun 03 2010 - 12:26:16 EST


On Thu, 3 Jun 2010 21:44:46 +0530 Rabin Vincent wrote:

> 5358db ("scripts: add ARM support to decodecode") added a few bashims to
> the decodecode script, so explicitly ask for bash.
>
> Signed-off-by: Rabin Vincent <rabin@xxxxxx>
> ---
> Alternatively, I have a patch to remove the bashisms, if that's preferred.

Yes, that's what we usually prefer to do.
Please post it.


> scripts/decodecode | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/decodecode b/scripts/decodecode
> index 8b30cc3..405cfac 100755
> --- a/scripts/decodecode
> +++ b/scripts/decodecode
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/bin/bash
> # Disassemble the Code: line in Linux oopses
> # usage: decodecode < oops.file
> #
> --


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/