File: new_vers.sh

package info (click to toggle)
zephyr 3.1.2-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,836 kB
  • sloc: ansic: 41,382; sh: 10,723; makefile: 872; python: 438; yacc: 250; lisp: 127
file content (8 lines) | stat: -rwxr-xr-x 166 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh
#
top_srcdir=${1:-`pwd`}

v=`sh ${top_srcdir}/get_vers.sh ${top_srcdir}`

umask 002
/bin/echo "#define ZEPHYR_VERSION_STRING \"${v}\"" > h/zephyr_version.h