mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

fguigues
28.38.2009 03b30ea97b56c76514c31b7460e2b3c0594f859a
opends/src/quicksetup/org/opends/quicksetup/LicenseFile.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.quicksetup;
@@ -30,6 +30,7 @@
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import org.opends.server.core.DirectoryServer;
/**
 * Represents information about the license file.
@@ -52,7 +53,7 @@
   */
  static private String getName()
  {
    String installRootFromSystem = System.getProperty("INSTALL_ROOT");
    String installRootFromSystem = DirectoryServer.getServerRoot();
    if (installRootFromSystem == null) {
      installRootFromSystem = System.getenv("INSTALL_ROOT");
@@ -62,7 +63,11 @@
      installRootFromSystem = "";
    }
    return installRootFromSystem + "/Legal/license_to_accept.txt";
    return installRootFromSystem +
            File.pathSeparator +
            "Legal" +
            File.pathSeparator +
            "license_to_accept.txt";
  }
  /**