From: Sam Vilain Date: Sat, 30 Jun 2007 08:56:15 GMT Subject: [PATCH] GIT-VERSION-GEN: don't convert - delimiter to .'s Message-ID: <11831937823982-git-send-email-sam.vilain@catalyst.net.nz> In-Reply-To: <11831937823184-git-send-email-sam.vilain@catalyst.net.nz> Otherwise, a custom "v1.5.2.42.gb1ff" is considered newer than a "v1.5.2.1.69.gcafe" Signed-off-by: Sam Vilain --- GIT-VERSION-GEN | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index 06c360b..ac6a062 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -18,7 +18,7 @@ elif test -d .git && v[0-9]*) : happy ;; esac then - VN=$(echo "$VN" | sed -e 's/-/./g'); + :; else VN="$DEF_VER" fi -- 1.5.2.1.1131.g3b90