diff options
author | Andreas Mohr <andi@lisas.de> | 2007-11-17 21:51:25 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 23:14:37 +0100 |
commit | 22d6a6a018d897c9c77c6af164722926e70108fa (patch) | |
tree | cc60f1f56aa40220fdbfccd3c561eaec59a067cd /scripts/setlocalversion | |
parent | 7491a76b23f5100823098b9d5d74ef18a2ca0dc1 (diff) | |
download | linux-stable-22d6a6a018d897c9c77c6af164722926e70108fa.tar.gz linux-stable-22d6a6a018d897c9c77c6af164722926e70108fa.tar.bz2 linux-stable-22d6a6a018d897c9c77c6af164722926e70108fa.zip |
kbuild: eradicate bashisms in scripts/patch-kernel
Make the patch-kernel shell script sufficiently compatible with POSIX
shells, i.e., remove bashisms from scripts/patch-kernel.
This means that it now also works on dash 0.5.3-5
and still works on bash 3.1dfsg-8.
Full changelog:
- replaced non-standard "==" by standard "="
- replaced non-standard "source" statement by POSIX "dot" command
- use leading ./ on mktemp filename to force the tempfile to a local
directory, so that the search path is not used
- replace bash syntax to remove leading dot by similar POSIX syntax
- added missing (optional/not required) $ signs to shell variable names
Signed-off-by: Andreas Mohr <andi@lisas.de>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions