diff options
author | Sebastian Schmelzer | 2010-09-14 10:42:29 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2010-09-14 10:42:29 +0200 |
commit | 457e6de86acfcb7a651ed104965c96364c604718 (patch) | |
tree | 56d58c435c7cd9a2e1763a2270b54be8beda6724 /tools/installer | |
parent | fix non .git source install (diff) | |
download | core-457e6de86acfcb7a651ed104965c96364c604718.tar.gz core-457e6de86acfcb7a651ed104965c96364c604718.tar.xz core-457e6de86acfcb7a651ed104965c96364c604718.zip |
fix
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 |