From a8cd6a92b3db2d44bde8a7a6d9fed7aeaf4b7d99 Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Tue, 22 Feb 2022 12:34:23 +0800 Subject: [PATCH] Do not overwrite found python executable with 'python' --- Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile b/Makefile index 70485f2..dea17d3 100644 --- a/Makefile +++ b/Makefile @@ -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" ; \