diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/get_linux_config.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/get_linux_config.sh b/scripts/get_linux_config.sh index 1950e9d2e..5cd0e371f 100755 --- a/scripts/get_linux_config.sh +++ b/scripts/get_linux_config.sh @@ -35,6 +35,7 @@ function linux_version() KERNEL=`echo ${KCONFIG} | sed s/.*linux-2.6./linux-2.6./g -` THIS_MAJOR=${KERNEL:10:2} THIS_MINOR=${KERNEL:13} + THIS_MINOR=${THIS_MINOR:=0} } # Try to be careful... |