view version.sh @ 18727:24b2d27f2407

Use MPlayer's CPU detection module instead of libmpeg2's, initial patch by Jim Huang jserv A linux2¡ëcc¡ëntu¡ëedu¡ëtw, reworked by me according to The Guru's advices ;-) Original thread: Date: Jun 15, 2006 8:35 AM Subject: [MPlayer-dev-eng] [PATCH] Remove duplicated CPU detection in libmpeg2
author gpoirier
date Fri, 16 Jun 2006 13:40:00 +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