You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Gianmarco De Francisci Morales (Updated) (JIRA)" <ji...@apache.org> on 2011/11/02 15:23:32 UTC

[jira] [Updated] (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:all-tabpanel ]

Gianmarco De Francisci Morales updated PIG-2335:
------------------------------------------------

    Attachment: PIG-2335.1.patch

Reverted to a syntax compatible with bash 3.0
                
> 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
>             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