projects
/
mass-build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't hard-code the path to the python interpreter
[mass-build.git]
/
vcs.py
diff --git
a/vcs.py
b/vcs.py
index 9f53fe257ab586bca5ca5a96eed226057c4f848f..3fcca6d6d1975decf40baaf7f8e2fac57fa0d8a5 100644
(file)
--- a/
vcs.py
+++ b/
vcs.py
@@
-86,6
+86,7
@@
class Git:
print()
def version(self):
+ os.chdir(self.folder)
v = git.describe()
return v[len(get_non_digit_prefix(v)):] # remove the non-digit prefix from v (so that it starts with a number)