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

fix if svnversion is not installed

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