summaryrefslogtreecommitdiffstats
path: root/tools/installer
diff options
context:
space:
mode:
authorSebastian Schmelzer2010-09-14 10:42:29 +0200
committerSebastian Schmelzer2010-09-14 10:42:29 +0200
commit457e6de86acfcb7a651ed104965c96364c604718 (patch)
tree56d58c435c7cd9a2e1763a2270b54be8beda6724 /tools/installer
parentfix non .git source install (diff)
downloadcore-457e6de86acfcb7a651ed104965c96364c604718.tar.gz
core-457e6de86acfcb7a651ed104965c96364c604718.tar.xz
core-457e6de86acfcb7a651ed104965c96364c604718.zip
fix
Diffstat (limited to 'tools/installer')
-rwxr-xr-xtools/installer2
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