Commit 57d515be authored by Jan Gerber's avatar Jan Gerber
Browse files

migrate repository to git

parent 586924b2
......@@ -6,12 +6,13 @@ import os
import SCons
def version():
#return "0.29"
f = os.popen("./version.sh")
version = f.read().strip()
f.close()
return version
pkg_version="0.29"
pkg_version=version()
pkg_name="ffmpeg2theora"
......
#!/bin/bash
cd `dirname $0`
version='0.29'
test -e .svn && svnversion=`which svnversion`
echo -n $version
if [ "x$svnversion" != "x" ]; then
echo -n "+svn"
svnversion
else
echo
test -e .git && git=`which git`
if [ "x$git" != "x" ]; then
version=$(cd "$1" && git describe --tags 2> /dev/null)
fi
echo $version
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment