D6958: hg: move hg script to be a template that gets filled in via make
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Fri Oct 4 15:29:24 EDT 2019
mharbison72 added inline comments.
INLINE COMMENTS
> Makefile:50
> +hg: hg.in.py
> + $(PYTHON) -c "import sys; sys.stdout.write(sys.stdin.read().replace('%(interpreter)s', sys.executable))" < hg.in.py > hg
> + chmod +x hg
Any sane way to get this to strip $(DESTDIR) from the lead? (Or maybe just override it via another parameter.) That would solve one of the issues with the custom Mac install builder (D6846 <https://phab.mercurial-scm.org/D6846>), but probably causes a problem running `contrib/genosxversion.py` (which wants to exec `hg`).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6958/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6958
To: durin42, #hg-reviewers, indygreg
Cc: mharbison72, indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list