diff options
author | u91o <u91o@airmail.cc> | 2019-06-04 05:47:26 +0100 |
---|---|---|
committer | u91o <u91o@airmail.cc> | 2019-06-04 05:47:26 +0100 |
commit | 2dad0b8b4ee6832aff39949e82ed419244abf397 (patch) | |
tree | c50cef5e7b371412d524ddc8cf95e81fd414a02f | |
parent | a47fd0480518f0ea1ad4a407be50a87a5690a94a (diff) | |
download | ranger-2dad0b8b4ee6832aff39949e82ed419244abf397.tar.gz |
fix to call git describe in ranger's source directory
-rw-r--r-- | ranger/__init__.py | 1 |
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')) |