You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Trevor McKay (JIRA)" <ji...@apache.org> on 2013/10/28 15:11:31 UTC

[jira] [Updated] (AMBARI-1790) Consider changing env comments in py scripts to use 'python' instead of 'python2.x'

     [ https://issues.apache.org/jira/browse/AMBARI-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor McKay updated AMBARI-1790:
---------------------------------

    Summary: Consider changing env comments in py scripts to use 'python' instead of 'python2.x'  (was: Consider changing env comments in py scripts to use python2 instead of python2.x)

> Consider changing env comments in py scripts to use 'python' instead of 'python2.x'
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-1790
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1790
>             Project: Ambari
>          Issue Type: Improvement
>    Affects Versions: 1.2.0
>         Environment: Fedora 
> Using branch-1.2 sources
>            Reporter: Trevor McKay
>            Assignee: Trevor McKay
>         Attachments: python2_trunk.patch
>
>
> The env comment in most of the python files looks like
> #!/usr/bin/env python2.6
> Changing it to this makes the scripts work on hosts with python2.x which is more portable
> #!/usr/bin/env python2



--
This message was sent by Atlassian JIRA
(v6.1#6144)