You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org> on 2011/11/02 18:41:34 UTC

[jira] [Commented] (PIG-2335) bin/pig does not work with bash 3.0

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

Daniel Dai commented on PIG-2335:
---------------------------------

+1
                
> bin/pig does not work with bash 3.0
> -----------------------------------
>
>                 Key: PIG-2335
>                 URL: https://issues.apache.org/jira/browse/PIG-2335
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Gianmarco De Francisci Morales
>             Fix For: 0.10
>
>         Attachments: PIG-2335.1.patch
>
>
> With bash 3.0, bin/pig fails with the error -
> ./pig: line 52: syntax error near unexpected token `"$f"'
> ./pig: line 52: `        remaining+=("$f")'
> This is because the += syntax was added in bash 3.1 . 
> RHEL 4 machines come with bash 3.0 .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira