Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh tmp=$1 file=${tmp:=VERSION} gitver=$(git describe 2>/dev/null | tr - .) filever=$(cat ${file} 2>/dev/null) version=${gitver} : ${version:=$filever} echo "$version"