|
From: | Knut Petersen |
Subject: | Re: Please test gub |
Date: | Fri, 1 Feb 2019 13:19:31 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 31.01.19 15:43, Alexander Kobel wrote:
Addendum: On 31.01.19 15:39, Alexander Kobel wrote:Whenever I can, I "correct" shebangs to python2 (without ever having looked up this PEP), and nobody ever complained that it breaks their workflow.That is to say: I've yet to encounter a system where python points to python2.x, but at the same time there's no python2 -> python2.x symlink/hardlink/anylink/copy/wrapper. So I doubt that adding the "2" will cause any grief.
There are not too many files with a python shebang ... LANG=c grep -r '^#!' * | grep -v '^Binary file' | grep -v uploads/ | grep -v downloads/ | grep -v target | grep -i python bin/cygwin-packager:#! /usr/bin/env python bin/gub-tester:#! /usr/bin/env python bin/build-architecture:#! /usr/bin/env python bin/build-platform:#! /usr/bin/env python bin/gib:#! /usr/bin/env python bin/gupdate:#! /usr/bin/env python bin/gub:#! /usr/bin/env python bin/gpkg:#! /usr/bin/env python gub/runner.py:#! /usr/bin/env python gub/distcc.py:#!/usr/bin/env python gub/with-lock.py:#!/usr/bin/env python gub/versiondb.py:#!/usr/bin/env python sourcefiles/pytt.py:#! @PYTHON@ sourcefiles/python-config.py:#! @PYTHON_FOR_BUILD@ test-lily/rsync-lily-doc.py:#! /usr/bin/env python test-lily/test-binary.py:#! /usr/bin/env python test-lily/rsync-test.py:#! /usr/bin/env python test-lily/upload.py:#! /usr/bin/env python test-lily/dist-check.py:#! /usr/bin/env python test-lily/cron-builder.py:#! /usr/bin/env python Do you want to prepare a patch? Knut
[Prev in Thread] | Current Thread | [Next in Thread] |