X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=config%2Fversion.sh;fp=config%2Fversion.sh;h=0000000000000000000000000000000000000000;hb=6e4f8128fe078a3e54f5c92d27c31acc7b8f9fd8;hp=63963061dec047556bd082de8e8b6c0e95fe75c3;hpb=9a990c3302e6bf6c5c313541cbc1cbcea16dcb4d;p=mmh diff --git a/config/version.sh b/config/version.sh deleted file mode 100755 index 6396306..0000000 --- a/config/version.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# -# version.sh -- script to create version string(s) for mmh. -# -# You need to pass the script the version number to use. -# - -if [ -z "$1" ]; then - echo "usage: version.sh VERSION" 1>&2 - exit 1 -fi - -VERSION=$1 - -git_info="$(git show --pretty'=format: [%h -- %cD]' HEAD | head -n1)" - -echo "char *version_str = \"mmh-${VERSION}${git_info}\";" -echo "char *version_num = \"mmh-$VERSION\";"