From 2dad0b8b4ee6832aff39949e82ed419244abf397 Mon Sep 17 00:00:00 2001 From: u91o Date: Tue, 4 Jun 2019 05:47:26 +0100 Subject: fix to call git describe in ranger's source directory --- ranger/__init__.py | 1 + 1 file changed, 1 insertion(+) 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')) -- cgit 1.4.1-2-gfad0