summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-02-15 20:10:37 +0100
committerChristian Pointner <equinox@spreadspace.org>2015-02-15 20:10:37 +0100
commit66693d9824a742941f115d7edd94a500014e2304 (patch)
tree9c4043a84053ea89ed0964c89c746e742ab4195a /src
parentreenabled num_fds callback (diff)
updated doc and ignore svn vs. git
Diffstat (limited to 'src')
-rwxr-xr-xsrc/configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/configure b/src/configure
index 183c8d7..ed76c09 100755
--- a/src/configure
+++ b/src/configure
@@ -7,7 +7,7 @@
#
#
# Copyright (C) 2011 Christian Pointner <equinox@spreadspace.org>
-#
+#
# This file is part of gstdvbbackend.
#
# gstdvbbackend is free software: you can redistribute it and/or modify
@@ -137,10 +137,10 @@ else
fi
VERSION=`cat ../version`
-if which svn >/dev/null; then
- SVN_REV=`svn info 2> /dev/null | grep "^Revision: " | awk '{print($2)}'`
- if [ -n "$SVN_REV" ]; then
- VERSION="$VERSION (svn$SVN_REV)"
+if which git >/dev/null; then
+ GIT_HASH=`git rev-parse HEAD 2> /dev/null`
+ if [ -n "$GIT_HASH" ]; then
+ VERSION="$VERSION (git $GIT_HASH)"
fi
fi