Re:Ubuntu announces 12.10 (Quantal Quetzal) Beta 1
by nnnnni on Friday September 07, 2012 @07:46AM
(#4488578)
Exactly. Whenever a script is made, it should have #!/usr/bin/env interpreter# as the first line.
#!/usr/bin/env python2
#!/usr/bin/env python3
Explicitly declaring the required version fixes that problem. In arch, most of the PKGBUILDs will have a line to sed the explicit line into the file in place of the generic python line.
#!/usr/bin/env python2 #!/usr/bin/env python3
Explicitly declaring the required version fixes that problem. In arch, most of the PKGBUILDs will have a line to sed the explicit line into the file in place of the generic python line.