aboutsummaryrefslogtreecommitdiff
path: root/moaSig
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-06-27 09:01:01 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-06-27 09:01:01 +0200
commit451171db528e8d8feff1b3fac7e3f04302b6f59f (patch)
treec8d8f8c0bc39cb012c70d2f86328236baf1238f1 /moaSig
parenta98fe4810f6926bd459e45d9a92cffc5e7eafb38 (diff)
downloadmoa-sig-451171db528e8d8feff1b3fac7e3f04302b6f59f.tar.gz
moa-sig-451171db528e8d8feff1b3fac7e3f04302b6f59f.tar.bz2
moa-sig-451171db528e8d8feff1b3fac7e3f04302b6f59f.zip
git commit in version string
Diffstat (limited to 'moaSig')
-rw-r--r--moaSig/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/moaSig/build.gradle b/moaSig/build.gradle
index 738ebbc..5858e7f 100644
--- a/moaSig/build.gradle
+++ b/moaSig/build.gradle
@@ -31,7 +31,7 @@ task wrapper(type: Wrapper) {
}
def getCheckedOutGitCommitHash() {
- def gitFolder = "$projectDir/.git/"
+ def gitFolder = "$projectDir/../.git/"
def takeFromHash = 40
def head = new File(gitFolder + "HEAD").text.split(":")
def isCommit = head.length == 1