File: getkver

package info (click to toggle)
mwavem 1.0.2-11
  • links: PTS
  • area: main
  • in suites: woody
  • size: 7,204 kB
  • ctags: 6,561
  • sloc: ansic: 54,209; sh: 2,929; makefile: 417
file content (5 lines) | stat: -rwxr-xr-x 166 bytes parent folder | download | duplicates (2)
1
2
3
4
5
for TAG in VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION ; do
    eval `sed -ne "/^$TAG/s/[   ]//gp" $1/Makefile`
done
echo "$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION"