summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-03-30 16:17:52 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-03-30 16:17:52 +0200
commit74f99f57ac5b0acbab58b71d0c98f43863bc9f0d (patch)
treea03bbcf0e72096fad12a62eafc4d274ea703a457
parentadded gitignore (diff)
finally moved from svn to git
-rw-r--r--README2
-rwxr-xr-xsrc/configure8
2 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index 3d77137..4f8f35e 100644
--- a/README
+++ b/README
@@ -26,7 +26,7 @@ Installation
Getting the source via subversion:
----------------------------------
-svn co https://svn.spreadspace.org/tcpproxy/trunk tcpproxy
+git clone git://git.spreadspace.org/tcpproxy.git
cd tcpproxy
diff --git a/src/configure b/src/configure
index 482c894..57abeeb 100755
--- a/src/configure
+++ b/src/configure
@@ -178,10 +178,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