Re: [PATCH] Make kernel build numbers work again (was: Re: Cannot compile 2.4.10pre12aa1 with 2.95.2 on

From: willy tarreau (wtarreau@yahoo.fr)
Date: Thu Sep 20 2001 - 08:37:35 EST


Hi !

Why not simply something like this :

newversion:
- . scripts/mkversion > .version
+ echo $$[`cat .version 2>/dev/null`+1] > .version

The shell evaluates the `cat` expression before it
writes to
".version", so there's no temp file needed anymore.

Comments ?

Willy

___________________________________________________________
Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
Yahoo! Courrier : http://fr.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:38 EST