[jira] Updated: (PIG-1293) pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set

2010-03-17 Thread Alan Gates (JIRA)

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

Alan Gates updated PIG-1293:


   Resolution: Fixed
Fix Version/s: 0.7.0
   Status: Resolved  (was: Patch Available)

Thanks, that last comment helped me reproduce the issue.  Patch checked in.  
Thanks Allen for the patch.

> pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set
> -
>
> Key: PIG-1293
> URL: https://issues.apache.org/jira/browse/PIG-1293
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.6.0
>Reporter: Allen Wittenauer
>Assignee: Allen Wittenauer
> Fix For: 0.7.0
>
> Attachments: PIG-1293.txt
>
>
> If PIG_HOME isn't set and pig is in the path, the pig wrapper script can't 
> find its home.  Setting PIG_HOME makes it hard to support multiple versions 
> of pig. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-1293) pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set

2010-03-12 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer updated PIG-1293:
--

Status: Patch Available  (was: Open)

Let's try submitting again, since it seems my test results disappeared.  Not 
surprised at the missing test, but core failing? that's seems unlikely.

> pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set
> -
>
> Key: PIG-1293
> URL: https://issues.apache.org/jira/browse/PIG-1293
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.6.0
>Reporter: Allen Wittenauer
> Attachments: PIG-1293.txt
>
>
> If PIG_HOME isn't set and pig is in the path, the pig wrapper script can't 
> find its home.  Setting PIG_HOME makes it hard to support multiple versions 
> of pig. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-1293) pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set

2010-03-12 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer updated PIG-1293:
--

Status: Open  (was: Patch Available)

> pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set
> -
>
> Key: PIG-1293
> URL: https://issues.apache.org/jira/browse/PIG-1293
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.6.0
>Reporter: Allen Wittenauer
> Attachments: PIG-1293.txt
>
>
> If PIG_HOME isn't set and pig is in the path, the pig wrapper script can't 
> find its home.  Setting PIG_HOME makes it hard to support multiple versions 
> of pig. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-1293) pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set

2010-03-11 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer updated PIG-1293:
--

Attachment: PIG-1293.txt

Since we require bash, we can cheat a bit.  BASH_SOURCE should contain the full 
path to the script that we are executing.  This means we can ... piggyback... 
off of that variable to figure out where our real PIG_HOME is at.

> pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set
> -
>
> Key: PIG-1293
> URL: https://issues.apache.org/jira/browse/PIG-1293
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.6.0
>Reporter: Allen Wittenauer
> Attachments: PIG-1293.txt
>
>
> If PIG_HOME isn't set and pig is in the path, the pig wrapper script can't 
> find its home.  Setting PIG_HOME makes it hard to support multiple versions 
> of pig. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-1293) pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set

2010-03-11 Thread Allen Wittenauer (JIRA)

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

Allen Wittenauer updated PIG-1293:
--

Status: Patch Available  (was: Open)

> pig wrapper script tends to fail if pig is in the path and PIG_HOME isn't set
> -
>
> Key: PIG-1293
> URL: https://issues.apache.org/jira/browse/PIG-1293
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.6.0
>Reporter: Allen Wittenauer
> Attachments: PIG-1293.txt
>
>
> If PIG_HOME isn't set and pig is in the path, the pig wrapper script can't 
> find its home.  Setting PIG_HOME makes it hard to support multiple versions 
> of pig. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.