PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/scripts/mkversion

http://github.com/mirrors/linux
#! | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 7ee13cf245d7150105631ec0b283136f MD5 | raw file
1if [ ! -f .version ]
2then
3    echo 1
4else
5    expr 0`cat .version` + 1
6fi