Signed-off-by: Sven Eckelmann <[email protected]>
---
 vis/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vis/Makefile b/vis/Makefile
index 9bf72c9..bd83877 100644
--- a/vis/Makefile
+++ b/vis/Makefile
@@ -49,7 +49,7 @@ PREFIX = /usr/local
 SBINDIR = $(PREFIX)/sbin
 
 # try to generate revision
-REVISION= $(shell      if [ -d .git ]; then \
+REVISION= $(shell      if [ -d ../.git ]; then \
                                echo $$(git describe --always --dirty --match 
"v*" |sed 's/^v//' 2> /dev/null || echo "[unknown]"); \
                        fi)
 ifneq ($(REVISION),)
-- 
1.8.4.rc3

Reply via email to