]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] scripts/kernel-doc: don't use uninitialized SRCTREE
authorRandy Dunlap <rdunlap@xenotime.net>
Thu, 7 Jul 2005 22:39:26 +0000 (15:39 -0700)
committerSam Ravnborg <sam@mars.(none)>
Wed, 13 Jul 2005 23:18:36 +0000 (23:18 +0000)
commit2283a117f65650352f2a9fd6b9af4cdbf5478d14
tree7edbe30174376b214e8583b3a0b24cb1c26f625c
parent66da665ca36b07728acf35881f918a89a2c9fbb2
[PATCH] scripts/kernel-doc: don't use uninitialized SRCTREE

Current kernel-doc (perl) script generates this warning:
Use of uninitialized value in concatenation (.) or string at scripts/kernel-doc line 1668.

So explicitly check for SRCTREE in the ENV before using it,
and then if it is set, append a '/' to the end of it, otherwise
the SRCTREE + filename can (will) be missing the intermediate '/'.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kernel-doc