get_linux_config.sh: sets THIS_MINOR to 0 if not valid.
authorJulien Boibessot <julien.boibessot@armadeus.com>
Tue, 9 Feb 2010 16:11:04 +0000 (17:11 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 17 Feb 2010 10:18:17 +0000 (11:18 +0100)
commitfb1c82ad881ce01f9d7c26f646af402638696a69
tree5bada32c4eb8f674a6934fa3ded4a53638c23404
parente777294fd60e1450b1cb80e09facd5bdd4b1fc22
get_linux_config.sh: sets THIS_MINOR to 0 if not valid.

Sets THIS_MINOR to 0 if not valid, ie when processing a Linux config file
which does not have a minor number extension;
ex: "<name>-linux-2.6.<major>.config"
Otherwise bash is raising an error/exception (line 59) and script can not
complete.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
scripts/get_linux_config.sh