[lkml]   [2001]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Make kernel build numbers work again (was: Re: Cannot compile 2.4.10pre12aa1 with 2.95.2 on
Hi !

Why not simply something like this :

- . 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 ?


Do You Yahoo!? -- Un e-mail gratuit !
Yahoo! Courrier :
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.027 / U:1.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site