mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 19:31:53 +00:00
scripts/tags.sh: use -n to test archinclude
In bash, "! -z" is equivalent to "-n", which seems to be more intuitive. Signed-off-by: Wei Yang <richard.weiyang@gmail.com> CC: Sam Ravnborg <sam@ravnborg.org> Link: https://lore.kernel.org/r/20231229030654.17474-3-richard.weiyang@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0aedf7a2dc
commit
d70a091fb4
@ -89,7 +89,7 @@ find_sources()
|
||||
all_sources()
|
||||
{
|
||||
find_arch_include_sources ${SRCARCH} '*.[chS]'
|
||||
if [ ! -z "$archinclude" ]; then
|
||||
if [ -n "$archinclude" ]; then
|
||||
find_arch_include_sources $archinclude '*.[chS]'
|
||||
fi
|
||||
find_include_sources '*.[chS]'
|
||||
|
Loading…
Reference in New Issue
Block a user