Do not overwrite found python executable with 'python'

This commit is contained in:
Paul Wise
2022-02-22 12:34:23 +08:00
committed by Mark Nauwelaerts
parent a08ad9d2b4
commit a8cd6a92b3

View File

@@ -15,9 +15,6 @@ build:
elif python -c 'import mercurial' 2> /dev/null ; then \
PYTHON=python ; \
fi ; \
if [ -n "$$PYTHON" ] ; then \
PYTHON=python ; \
fi ; \
mkdir -p bin ; \
for s in git-remote-hg git-hg-helper ; do \
printf "%s\n" "#!/usr/bin/env $$PYTHON" > "bin/$$s" ; \