#1635: hwloc requires a certain minimum version, but does not check for it ---------------------+------------------------------------------------------ Reporter: knarf | Owner: Type: defect | Status: reopened Priority: major | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: backport ---------------------+------------------------------------------------------
Comment (by knarf):
Version check in bash is not build-in, and relying on sort (-V) brings up the issue that some implementation of sort might not offer that option. The best pure bash solution I could find quickly is:
http://stackoverflow.com/questions/4023830/bash-how-compare-two-strings- in-version-format
Given the length of that function, and it's general usefulness I wonder if we couldn't make this available to configure scripts from within Cactus.