summaryrefslogtreecommitdiffstats
path: root/scripts/mkversion
blob: c12addc9c7efc8b185c602a84de7a79131b49134 (plain)
1
2
3
4
5
6
if [ ! -f .version ]
then
    echo 1
else
    expr 0`cat .version` + 1
fi
OpenPOWER on IntegriCloud