summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2cc91bc)
raw | patch | inline | side by side (parent: 2cc91bc)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 2 May 2010 21:38:18 +0000 (23:38 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 2 May 2010 21:38:18 +0000 (23:38 +0200) |
version-gen.sh | patch | blob | history |
diff --git a/version-gen.sh b/version-gen.sh
index 57300717c1ca9597259683368b458f8e3be92d2d..b9d8c967048522484bd9a062daf3dbf89fd0b662 100755 (executable)
--- a/version-gen.sh
+++ b/version-gen.sh
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"