Skip to content
Snippets Groups Projects
Commit e59cf0fd50c0 authored by Robert Bradshaw's avatar Robert Bradshaw
Browse files

Merge pull request #173 from yarikoptic/upstream-0.17

BF: replace show-ref with rev-parse --verify for determining current treeish location
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@
self.force_manifest = 1
if (sys.platform != "win32" and
os.path.isdir('.git')):
assert os.system("git show-ref -s HEAD > .gitrev") == 0
assert os.system("git rev-parse --verify HEAD > .gitrev") == 0
sdist_orig.run(self)
add_command_class('sdist', sdist)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment