File: version.sh

package info (click to toggle)
qnapi 0.2.3-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,328 kB
  • sloc: cpp: 8,634; sh: 49; makefile: 10
file content (3 lines) | stat: -rwxr-xr-x 135 bytes parent folder | download
1
2
3
#!/bin/sh
VERSION_FILE=libqnapi/src/version.h
cat $VERSION_FILE | grep QNAPI_DISPLAYABLE_VERSION | awk '{gsub(/"/, "", $3); print $3}'