path: root/scripts/setlocalversion
diff options
authorAndreas Mohr <>2007-11-17 21:51:25 +0100
committerSam Ravnborg <>2008-01-28 23:14:37 +0100
commit22d6a6a018d897c9c77c6af164722926e70108fa (patch)
treecc60f1f56aa40220fdbfccd3c561eaec59a067cd /scripts/setlocalversion
parent7491a76b23f5100823098b9d5d74ef18a2ca0dc1 (diff)
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 <> Acked-by: Randy Dunlap <> Signed-off-by: Sam Ravnborg <>
Diffstat (limited to 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions