aboutsummaryrefslogtreecommitdiffstats
path: root/MetisForwarder/app/cmake/get_version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'MetisForwarder/app/cmake/get_version.sh')
-rwxr-xr-xMetisForwarder/app/cmake/get_version.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/MetisForwarder/app/cmake/get_version.sh b/MetisForwarder/app/cmake/get_version.sh
deleted file mode 100755
index 34c6ddb2..00000000
--- a/MetisForwarder/app/cmake/get_version.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-DATE_VERSION=`date "+%Y%m%d"`
-
-if [ ! -d $1 ]; then
- echo 0.$DATE_VERSION
- exit
-fi
-
-if [ -f $1/BASE_VERSION ]; then
- BASE_VERSION=`cat $1/BASE_VERSION`.
-fi
-
-GIT=`which git`
-
-if test -x $GIT -a -f $1/.git/config; then
- GIT_VERSION=.`git -C $1 rev-parse HEAD | cut -c 1-8`
-fi
-
-echo $BASE_VERSION$DATE_VERSION$GIT_VERSION