view version.sh @ 18637:94524d81d145

first vorbis packet before vorbis_synthesis_headeri() must have b_o_s==1
author nicodvb
date Wed, 07 Jun 2006 22:40:40 +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