]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/Lindent: handle missing indent gracefully
authorJean Delvare <jdelvare@suse.de>
Fri, 4 Sep 2015 22:43:24 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commita17da8b398e6feb5bd2495d31e55dce5709c072c
tree897a35925cda919d4b8d2eed19a0269a54f521f5
parent77a392775de9eb0a2a0d94b8961111836692e200
scripts/Lindent: handle missing indent gracefully

If indent is not found, bail out immediately instead of spitting random
shell script error messages.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/Lindent