File: mkversion

package info (click to toggle)
linux 3.14.12-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 666,320 kB
  • sloc: ansic: 11,822,312; asm: 273,382; xml: 46,774; perl: 44,603; makefile: 29,283; sh: 7,245; python: 6,582; cpp: 5,100; yacc: 4,233; lex: 2,167; awk: 737; pascal: 231; lisp: 218; sed: 30
file content (6 lines) | stat: -rw-r--r-- 74 bytes parent folder | download | duplicates (50)
1
2
3
4
5
6
if [ ! -f .version ]
then
    echo 1
else
    expr 0`cat .version` + 1
fi