From b966262b45e09a705d3e27be50af4d8a143c640e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 2 May 2010 23:38:18 +0200 Subject: [PATCH] version-gen.sh: Prepend a dot to VERSION_EXTRA. --- version-gen.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/version-gen.sh b/version-gen.sh index 5730071..b9d8c96 100755 --- a/version-gen.sh +++ b/version-gen.sh @@ -27,6 +27,7 @@ if test "$OLD_VERSION" != "$VERSION"; then VERSION_MINOR=$( echo $VERSION | cut -d'.' -f2 ) VERSION_PATCH=$( echo $VERSION | cut -d'.' -f3 ) VERSION_EXTRA="\"$( echo $VERSION | cut -d'.' -f4- )\"" + test -z "$VERSION_EXTRA" || VERSION_EXTRA=".$VERSION_EXTRA" ( echo "VERSION=\"$VERSION\"" echo "VERSION_MAJOR=$VERSION_MAJOR" -- 2.30.2