summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2016-02-26 00:34:47 +0100
committerChristian Pointner <equinox@anytun.org>2016-02-26 00:34:47 +0100
commit6c35f6912ed82e55d3e7ea39fb95696c1cb5c754 (patch)
treebdb5e1a542143023a713df13b874fa5e1af35d7e
parentadded gitignore (diff)
updated some info after moving to GIT
-rw-r--r--README6
-rwxr-xr-xsrc/configure10
2 files changed, 8 insertions, 8 deletions
diff --git a/README b/README
index 7d16590..6d64711 100644
--- a/README
+++ b/README
@@ -102,10 +102,10 @@ Windows
Installation
============
-Getting the source via subversion:
-----------------------------------
+Getting the source via GIT:
+---------------------------
-svn co http://svn.anytun.org/anytun/trunk anytun
+git clone https://git.spreadspace.org/anytun/anytun.git
cd anytun
Building from source
diff --git a/src/configure b/src/configure
index 225e057..18f0306 100755
--- a/src/configure
+++ b/src/configure
@@ -372,11 +372,11 @@ 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)"
- fi
+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
HOSTNAME=`hostname`
DATE=`date +"%d.%m.%Y %H:%M:%S %Z"`