From 4d2b576553f317d267bed690939e44467aa231b1 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 3 Dec 2012 09:47:48 +0100 Subject: [PATCH] allow setting up version when running outside dir Signed-off-by: Nico Schottelius --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index 6fe8960f..d6c9a172 100755 --- a/build +++ b/build @@ -27,7 +27,7 @@ #set -e basedir=${0%/*} -version=$(git describe) +version=$(cd "$basedir" && git describe) # Manpage and HTML A2XM="a2x -f manpage --no-xmllint -a encoding=UTF-8"