view version.sh @ 18735:93dd2847bcdc

Rewrite audio EOF handling logic fixing some problems that could cause truncation of output, set flag AOPLAY_FINAL_CHUNK in play call to tell ao there will be no more data beyond what's in current buffer.
author uau
date Fri, 16 Jun 2006 21:52:25 +0000
parents 06c236dd604b
children 04ed79acda15
line wrap: on
line source

#!/bin/sh

revision=r`grep committed-rev .svn/entries | sed 1q | cut -d '"' -f 2 2>/dev/null`

extra=""
if test "$1" ; then
  extra="-$1"
fi

echo "#define VERSION \"dev-SVN-${revision}${extra}\"" > version.h