mkversion 74 Bytes
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4 5 6
if [ ! -f .version ]
then
    echo 1
else
    expr 0`cat .version` + 1
fi