Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] get_linux_config.sh: sets THIS_MINOR to 0 by default when processing a
@ 2010-02-09 14:45 julien.boibessot at free.fr
  2010-02-09 15:38 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: julien.boibessot at free.fr @ 2010-02-09 14:45 UTC (permalink / raw)
  To: buildroot

From: Julien Boibessot <julien.boibessot@armadeus.com>


Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
---
 scripts/get_linux_config.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/get_linux_config.sh b/scripts/get_linux_config.sh
index 1950e9d..5cd0e37 100755
--- a/scripts/get_linux_config.sh
+++ b/scripts/get_linux_config.sh
@@ -35,6 +35,7 @@ function linux_version()
 	KERNEL=`echo ${KCONFIG} | sed s/.*linux-2.6./linux-2.6./g -`
 	THIS_MAJOR=${KERNEL:10:2}
 	THIS_MINOR=${KERNEL:13}
+	THIS_MINOR=${THIS_MINOR:=0}
 }
 
 # Try to be careful...
-- 
1.6.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] get_linux_config.sh: sets THIS_MINOR to 0 by default when processing a
  2010-02-09 14:45 [Buildroot] [PATCH] get_linux_config.sh: sets THIS_MINOR to 0 by default when processing a julien.boibessot at free.fr
@ 2010-02-09 15:38 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2010-02-09 15:38 UTC (permalink / raw)
  To: buildroot

>>>>> "julien" == julien boibessot <julien.boibessot@free.fr> writes:

Commit text truncated?

A more detailed commit message would be good.

 julien> From: Julien Boibessot <julien.boibessot@armadeus.com>
 julien> Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
 julien> ---
 julien>  scripts/get_linux_config.sh |    1 +
 julien>  1 files changed, 1 insertions(+), 0 deletions(-)

 julien> diff --git a/scripts/get_linux_config.sh b/scripts/get_linux_config.sh
 julien> index 1950e9d..5cd0e37 100755
 julien> --- a/scripts/get_linux_config.sh
 julien> +++ b/scripts/get_linux_config.sh
 julien> @@ -35,6 +35,7 @@ function linux_version()
 julien>  	KERNEL=`echo ${KCONFIG} | sed s/.*linux-2.6./linux-2.6./g -`
 julien>  	THIS_MAJOR=${KERNEL:10:2}
 julien>  	THIS_MINOR=${KERNEL:13}
 julien> +	THIS_MINOR=${THIS_MINOR:=0}
 julien>  }
 
 julien>  # Try to be careful...
 julien> -- 
 julien> 1.6.0.4

 julien> _______________________________________________
 julien> buildroot mailing list
 julien> buildroot at busybox.net
 julien> http://lists.busybox.net/mailman/listinfo/buildroot


-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-09 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-09 14:45 [Buildroot] [PATCH] get_linux_config.sh: sets THIS_MINOR to 0 by default when processing a julien.boibessot at free.fr
2010-02-09 15:38 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox