Merge "Fix quoting in vercmp check for kernel version"
This commit is contained in:
commit
6ca92cba8f
@ -54,7 +54,7 @@ function _neutron_ovs_base_install_ubuntu_dkms {
|
|||||||
local kernel_major_minor
|
local kernel_major_minor
|
||||||
kernel_major_minor=`echo $kernel_version | cut -d. -f1-2`
|
kernel_major_minor=`echo $kernel_version | cut -d. -f1-2`
|
||||||
# From kernel 3.13 on, openvswitch-datapath-dkms is not needed
|
# From kernel 3.13 on, openvswitch-datapath-dkms is not needed
|
||||||
if vercmp '$kernel_major_minor' '<' '3.13'; then
|
if vercmp "$kernel_major_minor" "<" "3.13" ; then
|
||||||
install_package "dkms openvswitch-datapath-dkms linux-headers-$kernel_version"
|
install_package "dkms openvswitch-datapath-dkms linux-headers-$kernel_version"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user