Skip to content

Commit

Permalink
8255206: [macos] LicenseTest fails on macOS 11
Browse files Browse the repository at this point in the history
Reviewed-by: asemenyuk, herrick
  • Loading branch information
Alexander Matveev committed Oct 26, 2020
1 parent ca8bba6 commit 8ca59c9
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -473,15 +473,6 @@ private Path buildDMG( Map<String, ? super Object> params,

//add license if needed
if (Files.exists(getConfig_LicenseFile(params))) {
//hdiutil unflatten your_image_file.dmg
pb = new ProcessBuilder(
hdiutil,
"unflatten",
finalDMG.toAbsolutePath().toString()
);
IOUtils.exec(pb);

//add license
pb = new ProcessBuilder(
hdiutil,
"udifrez",
Expand All @@ -490,15 +481,6 @@ private Path buildDMG( Map<String, ? super Object> params,
getConfig_LicenseFile(params).toAbsolutePath().toString()
);
IOUtils.exec(pb);

//hdiutil flatten your_image_file.dmg
pb = new ProcessBuilder(
hdiutil,
"flatten",
finalDMG.toAbsolutePath().toString()
);
IOUtils.exec(pb);

}

//Delete the temporary image
Expand Down

1 comment on commit 8ca59c9

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 8ca59c9 Oct 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.