diff options
Diffstat (limited to 'kernel/scripts/Lindent')
-rwxr-xr-x | kernel/scripts/Lindent | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/scripts/Lindent b/kernel/scripts/Lindent index 9c4b3e2b7..6d889de4e 100755 --- a/kernel/scripts/Lindent +++ b/kernel/scripts/Lindent @@ -1,6 +1,9 @@ #!/bin/sh PARAM="-npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1" RES=`indent --version` +if [ "$RES" = "" ]; then + exit 1 +fi V1=`echo $RES | cut -d' ' -f3 | cut -d'.' -f1` V2=`echo $RES | cut -d' ' -f3 | cut -d'.' -f2` V3=`echo $RES | cut -d' ' -f3 | cut -d'.' -f3` |