[
http://issues.ops4j.org/jira/browse/PAXRUNNER-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_11020
]
Niclas Hedhman commented on PAXRUNNER-103:
------------------------------------------
The bash script should be able to locate where it was executed from and default
the PAX_HOME there;
BINDIR=`dirname $0`
PAXHOME=`dirname $BINDIR`
should do it.
> Pax Runner should be installable/run from any directory without setting
> PAX_HOME
> --------------------------------------------------------------------------------
>
> Key: PAXRUNNER-103
> URL: http://issues.ops4j.org/jira/browse/PAXRUNNER-103
> Project: Pax Runner
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.6.0
> Reporter: Alin Dreghiciu
> Assignee: Alin Dreghiciu
> Fix For: 0.7.0
>
>
> Currently (till 0.6.0 inclusive) pax-run unix scripts assumes that pax runner
> is installed in $home/.pax/runner in case that an env. variable PAX_HOME is
> not set.
> Strange enough the windows script does not make this assumption.
> Best will be that pax runner can be installed in any directory (as also
> stated in installation instructions in wiki).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general