File: currentversion.sh

package info (click to toggle)
v4l2loopback 0.15.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 556 kB
  • sloc: ansic: 6,539; sh: 301; makefile: 200
file content (7 lines) | stat: -rwxr-xr-x 143 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh

num() {
	grep "^#define V4L2LOOPBACK_VERSION_$1 " v4l2loopback.h | awk '{print $3}'
}

echo $(num MAJOR).$(num MINOR).$(num BUGFIX)