mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
oops
This commit is contained in:
2
setup.py
2
setup.py
@@ -313,7 +313,7 @@ def get_vcs_rev_defines():
|
||||
rev = f.read()
|
||||
except NotADirectoryError:
|
||||
gitloc = open('.git').read()
|
||||
with open(os.path.join(gitloc, '/refs/heads/master')) as f:
|
||||
with open(os.path.join(gitloc, 'refs/heads/master')) as f:
|
||||
rev = f.read()
|
||||
|
||||
ans.append('KITTY_VCS_REV="{}"'.format(rev.strip()))
|
||||
|
||||
Reference in New Issue
Block a user