From: Johannes Schindelin Date: Thu, 25 Jun 2009 15:40:34 GMT Subject: [JGIT PATCH] make_jgit.sh: do not fail with untagged repository Message-ID: With a repository lacking tags, make_jgit.sh would produce an invalid jgit.jar. So use the fake tag "untagged" in that case. Signed-off-by: Johannes Schindelin --- make_jgit.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/make_jgit.sh b/make_jgit.sh index 2969e6e..027a074 100755 --- a/make_jgit.sh +++ b/make_jgit.sh @@ -56,7 +56,7 @@ if [ -n "`git diff-index --name-only HEAD --`" ] then VN="$VN-dirty" fi -VN=`echo "$VN" | sed -e s/-/./g` +VN=${VN:-untagged}`echo "$VN" | sed -e s/-/./g` CLASSPATH= for j in $JARS -- 1.6.3.284.g6fecc