Skip to content

Commit

Permalink
handle esa file path for windows and linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jjiwooLim committed Nov 10, 2023
1 parent a8679c5 commit a90fd7c
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -677,11 +677,18 @@ public void installFeatures(boolean isAcceptLicense, List<String> featuresList)

copyUserFeature(pluginListedEsas, installDirectory);
} else {
featuresToInstall.addAll(pluginListedEsas);
for(String esa : pluginListedEsas) {
esa = esa.replaceAll("/", File.separator);
esa = esa.replaceAll("\\\\", File.separator);
if(! new File(esa).exists()) {
info(esa + " does not exist.");
}else {
featuresToInstall.add(esa);
}
}
}
}




for (String feature: featuresList) {
if (feature.contains(":")) {
Expand Down

0 comments on commit a90fd7c

Please sign in to comment.