patch for cluster 3.1.8's 'configure'
This patch fixes two small bugs in cluster's "configure" script;
1. When checking the x.y.z kernel version values, it changes the '!$foo' to 'not defined $foo'. This is because a version number of '0' matches "not" (!$foo). A safer but slower approach would be to do '$foo =~ /^\d+$/'. Not sure which is preferred.
2. Added a check where if 'x' in 'x.y.z' is greater in the detected kernel than in the minimum required kernel, the test passes. This handles 3.x kernels where the minimum is 2.y.
I tested this patch against Fedora 16 x86-64 and Ubuntu 11.10 amd64.
Signature · 14 lines
Digimer E-Mail: digimer at alteeve.com Freenode handle: digimer Papers and Projects: http://alteeve.com Node Assassin: http://nodeassassin.org "omg my singularity battery is dead again. stupid hawking radiation." - epitron -------------- next part -------------- A non-text attachment was scrubbed... Name: configure_detect-kernel-3-properly.patch Type: text/x-patch Size: 852 bytes Desc: not available URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20111202/d3c16be6/attachment.bin>