Commit 3cce408c authored by Jan Gerber's avatar Jan Gerber
Browse files

fix version.sh if svnversion is not installed

parent 62509dfe
......@@ -5,14 +5,13 @@ import os
import SCons
def svnversion():
def version():
f = os.popen("./version.sh")
version = f.read().strip()
f.close()
return version
pkg_version="0.28"
pkg_version +="+svn" + svnversion()
pkg_version=version()
pkg_name="ffmpeg2theora"
......
cd `dirname $0`
svnversion
version='0.28'
test -e .svn && svnversion=`which svnversion`
echo -n $version
if [ "x$svnversion" != "x" ]; then
echo -n "+svn"
svnversion
else
echo
fi
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