incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Roberts (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1790) Consider changing env comments in py scripts to use 'python' instead of 'python2.x'
Date Fri, 01 Nov 2013 13:16:19 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811237#comment-13811237
] 

Chad Roberts commented on AMBARI-1790:
--------------------------------------

This will greatly improve things when it comes to building on Fedora and other platforms.

+1

> 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: python_ver.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.7 which is more portable
> #!/usr/bin/env python



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

Mime
View raw message