correctly grep for moved version string

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-01-28 20:57:19 +01:00
parent 72fefef320
commit 78b44d4ddc

View file

@ -11,7 +11,7 @@ echo "Testing documentation..."
./build clean && ./build man || exit 1 ./build clean && ./build man || exit 1
# get version # get version
changelog_version=$(head -n1 doc/changelog | sed 's/:.*//') changelog_version=$(grep '^[[:digit:]]' doc/changelog | head -n1 | sed 's/:.*//')
#git_version=$(git describe) #git_version=$(git describe)
lib_version=$(grep ^VERSION lib/cdist/__init__.py | sed -e 's/.*= //' -e 's/"//g') lib_version=$(grep ^VERSION lib/cdist/__init__.py | sed -e 's/.*= //' -e 's/"//g')