huawei-mrd-kernel/scripts/mkversion

6 lines
74 B
Text

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