[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Change the python interpretor to use /usr/bin/env python3
From: |
Darshit Shah |
Subject: |
Change the python interpretor to use /usr/bin/env python3 |
Date: |
Sat, 31 Mar 2018 11:24:37 +0200 |
User-agent: |
NeoMutt/20180323 |
Hi,
On a fedora machine, Python 3 is installed by default, but not Python 2. And
the only binary available is /usr/bin/python3. This means that despite having
all the requirements to run gnulib-tool.py, one would still need to install
python to get the right binary.
However, simply changing the shebang line to `/usr/bin/env python3`, this can
be eliminated. I don't mind if you would like to keep it as `/usr/bin/env
python` to use
the python2 interpretor by default either.
--
Thanking You,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6
0001-Use-usr-bin-env-to-find-python-interpretor.patch
Description: Text document
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Change the python interpretor to use /usr/bin/env python3,
Darshit Shah <=