]>
git.ipfire.org Git - thirdparty/iw.git/blob - version.sh
6 echo '#include "iw.h"' > "$OUT"
8 if head=`git rev-parse --verify HEAD 2>/dev/null`; then
9 git update-index
--refresh --unmerged > /dev
/null
12 # on git builds check that the version number above
14 [ "${descr%%-*}" = "v$VERSION" ] ||
exit 2
17 if git diff-index
--name-only HEAD |
read dummy
; then
24 echo "const char iw_version[] = \"$v\";" >> "$OUT"