[
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.