Skip to content

Commit 4e48945

Browse files
committed
allow whitespace at the beginning of each line of the installer response file
1 parent 4a2fc1c commit 4e48945

File tree

1 file changed

+1
-1
lines changed
  • imagetool/src/main/java/com/oracle/weblogic/imagetool/util

1 file changed

+1
-1
lines changed

imagetool/src/main/java/com/oracle/weblogic/imagetool/util/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ public static void setOracleHome(String installerResponse, DockerfileOptions opt
715715
return;
716716
}
717717
Path installerResponseFile = Paths.get(installerResponse);
718-
Pattern pattern = Pattern.compile("^ORACLE_HOME=(.*)?");
718+
Pattern pattern = Pattern.compile("^\\s*ORACLE_HOME=(.*)?");
719719
Matcher matcher = pattern.matcher("");
720720
logger.finest("Reading installer response file: {0}", installerResponseFile.getFileName());
721721

0 commit comments

Comments
 (0)