about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorToon Nolten <toonn@toonn.io>2019-06-05 16:25:35 +0200
committerToon Nolten <toonn@toonn.io>2019-06-05 16:25:35 +0200
commit4486ecb940e2fbda989df051bb1df7f471bf01f1 (patch)
treec50cef5e7b371412d524ddc8cf95e81fd414a02f /ranger
parenta47fd0480518f0ea1ad4a407be50a87a5690a94a (diff)
parent2dad0b8b4ee6832aff39949e82ed419244abf397 (diff)
downloadranger-4486ecb940e2fbda989df051bb1df7f471bf01f1.tar.gz
Merge branch 'u91o-master'
Diffstat (limited to 'ranger')
-rw-r--r--ranger/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py
index c7091a3e..25087ea5 100644
--- a/ranger/__init__.py
+++ b/ranger/__init__.py
@@ -23,6 +23,7 @@ def version_helper():
         try:
             git_describe = subprocess.Popen(['git', 'describe'],
                                             universal_newlines=True,
+                                            cwd=RANGERDIR,
                                             stdout=subprocess.PIPE)
             (git_description, _) = git_describe.communicate()
             version_string = version_string.format(git_description.strip('\n'))