acrn-kernel/scripts/mkversion

7 lines
74 B
Plaintext

if [ ! -f .version ]
then
echo 1
else
expr 0`cat .version` + 1
fi