[jboss-jira] [JBoss JIRA] (WFLY-3649) On Darwin domain.sh JBOSS_BASE_DIR isn't resolved properly
Brian Stansberry (JIRA)
issues at jboss.org
Thu Sep 18 23:20:02 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFLY-3649:
-----------------------------------
Assignee: Arcadiy Ivanov (was: Tomaz Cerar)
> On Darwin domain.sh JBOSS_BASE_DIR isn't resolved properly
> ----------------------------------------------------------
>
> Key: WFLY-3649
> URL: https://issues.jboss.org/browse/WFLY-3649
> Project: WildFly
> Issue Type: Bug
> Components: Scripts
> Affects Versions: 8.1.0.Final, 9.0.0.Alpha1, 9.0.0.Beta1
> Environment: Darwin arcivanovs-Mac-Pro.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
> Reporter: Arcadiy Ivanov
> Assignee: Arcadiy Ivanov
> Labels: darwin, domain, macos, shell
> Attachments: domain.sh.patch
>
>
> In the following code in domain.sh all "cd ${p#*=} ; pwd -P" should be "cd ${var#*=} ; pwd -P"
> =========================
> # No readlink -m on BSD
> if $darwin; then
> # consolidate the host-controller and command line opts
> HOST_CONTROLLER_OPTS="$HOST_CONTROLLER_JAVA_OPTS $@"
> # process the host-controller options
> for var in $HOST_CONTROLLER_OPTS
> do
> case $var in
> -Djboss.domain.base.dir=*)
> JBOSS_BASE_DIR=`cd ${p#*=} ; pwd -P`
> ;;
> -Djboss.domain.log.dir=*)
> JBOSS_LOG_DIR=`cd ${p#*=} ; pwd -P`
> ;;
> -Djboss.domain.config.dir=*)
> JBOSS_CONFIG_DIR=`cd ${p#*=} ; pwd -P`
> ;;
> esac
> done
> fi
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list