[SM-Commit] GIT changes to master grimoire by Arjan Bouter (bc0b7a866250e866a7d776cd4152024d3cae4964)

Thomas Orgis thomas-forum at orgis.org
Tue Sep 9 09:13:28 EDT 2008


Am Mon, 8 Sep 2008 22:52:14 +0200
schrieb Jaka Kranjc <smgl at lynxlynx.info>: 

> For numerical comparison use (( )), but it can only take numbers, so I suggest 
> you compare just the minor version: (( $(get_kernel_version|cut -c 4-5) < 
> 25 ))

Heck, when linux version scheme stays like it is, there could be a get_sane_kernel_version that simply returns x for 2.6.x.y (the patchlevel being ignored).
I'm wondering if I should even make a kernel patch that strips the 2.6 out of the version in uname;-)


Alrighty then,

Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-commit/attachments/20080909/9fcc5794/attachment.bin 


More information about the SM-Commit mailing list