summaryrefslogtreecommitdiff
path: root/scripts/get_linux_config.sh
AgeCommit message (Collapse)Author
2010-09-30scripts: fix for POSIX complianceYann E. MORIN
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-02-17get_linux_config.sh: sets THIS_MINOR to 0 if not valid.Julien Boibessot
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>
2009-01-03Do not copy linux config with higher minor version than current kernelUlf Samuelsson
2009-01-02Apply some care, when copying the linux configuration fileUlf Samuelsson
2008-04-06Fix bad use of symbolUlf Samuelsson
2008-03-29Add some robustness to linux configurationUlf Samuelsson