[jboss-jira] [JBoss JIRA] (WFCORE-2160) Incorrect JBOSS_HOME warning in vault.sh

Dennis Reed (JIRA) issues at jboss.org
Fri Jan 6 15:56:00 EST 2017


Dennis Reed created WFCORE-2160:
-----------------------------------

             Summary: Incorrect JBOSS_HOME warning in vault.sh
                 Key: WFCORE-2160
                 URL: https://issues.jboss.org/browse/WFCORE-2160
             Project: WildFly Core
          Issue Type: Bug
          Components: Scripts
    Affects Versions: 3.0.0.Alpha16
            Reporter: Dennis Reed
            Assignee: Tomaz Cerar
            Priority: Minor


vault.sh has an incorrect check to make sure JBOSS_HOME is set correctly.

    SANITIZED_JBOSS_HOME=`cd "$JBOSS_HOME/.."; pwd`
    if [ "$RESOLVED_JBOSS" != "$SANITIZED_JBOSS_HOME" ]; then

The check will always fail because of the incorrect "/..", which should be removed.

The incorrect value is only used for printing the "WARNING JBOSS_HOME may be pointing to a different installation - unpredictable results may occur." log, and appears to have been around since at least EAP 6.0.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list