diff options
Diffstat (limited to 'tools/installer')
-rwxr-xr-x | tools/installer | 2 |
1 files changed, 1 insertions, 1 deletions
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 |