Skip to contentSkip to conversation

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

PATCH willy tarreau 1 participant 1 message Sep 20, 2001

lore
Share & tools
lore
#0 lore raw

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