linux/scripts
Andreas Mohr 22d6a6a018 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>
2008-01-28 23:14:37 +01:00
..
basic kernel-doc: new P directive for DOC: sections 2008-01-28 23:14:35 +01:00
genksyms kbuild: fixup genksyms usage/getopt 2008-01-28 23:14:36 +01:00
kconfig kconfig: use getopt() in conf.c for handling command line arguments 2008-01-28 23:14:36 +01:00
ksymoops
mod kbuild: fix a buffer overflow in modpost 2008-01-28 23:14:36 +01:00
package Kbuild: Clarify the rpm-related make packaging targets 2008-01-28 23:14:36 +01:00
rt-tester
.gitignore
bin2c.c
binoffset.c
bloat-o-meter fix bloat-o-meter for ppc64 2007-12-17 19:28:17 -08:00
checkincludes.pl
checkkconfigsymbols.sh kbuild: script to check for undefined Kconfig symbols 2007-10-12 21:13:50 +02:00
checkpatch.pl update checkpatch.pl to version 0.12 2007-11-29 09:24:51 -08:00
checkstack.pl Merge branch 'master' of hera.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6 2007-10-20 20:19:15 -07:00
checksyscalls.sh i386/x86_64: move headers to include/asm-x86 2007-10-11 11:20:03 +02:00
checkversion.pl
cleanfile
cleanpatch
conmakehash.c
decodecode
export_report.pl kbuild: fix perl usage in export_report.pl 2007-10-12 21:13:50 +02:00
extract-ikconfig
gcc-version.sh kbuild: fix buglet in gcc-version.sh 2008-01-28 23:14:36 +01:00
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
hdrcheck.sh
kallsyms.c
Kbuild.include kbuild: introduce cc-cross-prefix 2007-10-19 21:46:01 +02:00
kernel-doc kernel-doc: process functions, not DOC: 2008-01-28 23:14:35 +01:00
Lindent
Makefile
Makefile.build kbuild: implement modules.order 2008-01-28 23:14:35 +01:00
Makefile.clean kbuild: kill backward compatibility checks 2007-10-12 21:20:32 +02:00
Makefile.headersinst
Makefile.host
Makefile.lib kbuild: implement modules.order 2008-01-28 23:14:35 +01:00
Makefile.modinst kbuild: fix installing external modules 2008-01-28 23:14:36 +01:00
Makefile.modpost
makelst kbuild: introduce ccflags-y, asflags-y and ldflags-y 2007-10-15 22:25:06 +02:00
mkcompile_h
mkmakefile kbuild: re-enable Makefile generation in a new O=... directory 2007-12-13 19:19:20 +01:00
mksysmap
mkuboot.sh
mkversion
namespace.pl x86: fixup the x86 namespace change in scripts/namespace.pl 2007-10-11 17:56:02 +02:00
patch-kernel kbuild: eradicate bashisms in scripts/patch-kernel 2008-01-28 23:14:37 +01:00
pnmtologo.c
profile2linkerlist.pl
setlocalversion kbuild: support mercurial in setlocalversion 2008-01-28 23:14:36 +01:00
show_delta
unifdef.c
ver_linux kbuild: scripts/ver_linux : correct printing of binutils version 2007-10-12 21:15:31 +02:00