sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (bc0b7a866250e866a7d776cd4152024d3cae4964)
- From: Jaka Kranjc <smgl AT lynxlynx.info>
- To: sm-commit AT lists.ibiblio.org
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (bc0b7a866250e866a7d776cd4152024d3cae4964)
- Date: Mon, 8 Sep 2008 22:52:14 +0200
On Monday 08 of September 2008 22:42:12 Arjan Bouter wrote:
> +++ b/kernels/dazuko/PREPARE
> @@ -0,0 +1,8 @@
> +source $GRIMOIRE/FUNCTIONS &&
> +
> +if [[ "$(get_kernel_version)|cut -c-6" < '2.6.25' ]]; then
This will do a string comparison, so it won't work for kernels 2.6.3* - 2.6.9*
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 ))
LP
--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org
Attachment:
signature.asc
Description: This is a digitally signed message part.
-
[SM-Commit] GIT changes to master grimoire by Arjan Bouter (bc0b7a866250e866a7d776cd4152024d3cae4964),
Arjan Bouter, 09/08/2008
- Re: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (bc0b7a866250e866a7d776cd4152024d3cae4964), Jaka Kranjc, 09/08/2008
Archive powered by MHonArc 2.6.24.