Commit Graph

6 Commits

Author SHA1 Message Date
Yann E. MORIN
855fdcaed1 scripts: fix for POSIX compliance
Using two '=' for string comparison is a bashism.
Revert to using one, as stated in POSIX 1003.1-2008.

Of the three affected scripts, two are explicitly called vi #!/bin/bash.
Those two do not _need_ the fix, but gets it nonetheless, in case we
later switch to a POSIX-compliant shell for those scripts.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 22:08:58 +02:00
Julien Boibessot
fb1c82ad88 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>
2010-02-17 11:18:17 +01:00
Ulf Samuelsson
3b60cec51b Do not copy linux config with higher minor version than current kernel 2009-01-03 16:59:04 +00:00
Ulf Samuelsson
4705b4c21a Apply some care, when copying the linux configuration file 2009-01-02 15:44:18 +00:00
Ulf Samuelsson
76ab96d1b5 Fix bad use of symbol 2008-04-06 10:01:29 +00:00
Ulf Samuelsson
acdf16967d Add some robustness to linux configuration 2008-03-29 14:09:22 +00:00