From 457e6de86acfcb7a651ed104965c96364c604718 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Tue, 14 Sep 2010 10:42:29 +0200 Subject: fix --- tools/installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/installer b/tools/installer index a4c5c81a..dfaf732f 100755 --- a/tools/installer +++ b/tools/installer @@ -23,7 +23,7 @@ PREPARE_INSTALL_TARGET="./_install/" # helper functions: git_version() { - if [ $(git status) ]; then + if [ -d .git ]; then GITVERSION=`git describe` GITMODIFIED=`(git status | grep "modified:\|added:\|deleted:" -q) && echo "-M"` echo $GITVERSION$GITMODIFIED -- cgit v1.2.3-55-g7522