update version to be indpendent of git tree

Otherwise versions will include changes by users, which
will not be helpful for development.

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-11 19:17:31 +01:00
commit 6a591d3e06
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ __cdist_abs_mydir="$(cd "$__cdist_mydir" && pwd -P)"
__cdist_myname=${0##*/};
__cdist_abs_myname="$__cdist_abs_mydir/$__cdist_myname"
: ${__cdist_version:="$(cd "$__cdist_abs_mydir/.." && git describe)"}
__cdist_version="1.0.3"
################################################################################
# Names / Constants