File: version.bat

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 (6 lines) | stat: -rw-r--r-- 195 bytes parent folder | download
1
2
3
4
5
6
@echo off
set VERSION_FILE=libqnapi\src\version.h
cat %VERSION_FILE% | grep QNAPI_DISPLAYABLE_VERSION > tmp.txt
set /p VERSION_LINE=<tmp.txt
rem tmp.txt
echo | set /p dummy=%VERSION_LINE:~35,-1%