Skip to content
Snippets Groups Projects
Commit d5e76ef3 authored by dgelessus's avatar dgelessus
Browse files

Remove dead 32-bit Linux handling from CliStarter

parent e520a8d9
No related branches found
No related tags found
No related merge requests found
...@@ -65,12 +65,11 @@ public final class CliStarter { ...@@ -65,12 +65,11 @@ public final class CliStarter {
debuggingKey = null; debuggingKey = null;
final String os = Platform.getOS(); final String os = Platform.getOS();
final String arch = Platform.getOSArch();
final File applicationPath = getCliPath(); final File applicationPath = getCliPath();
final String fullcp = createFullClasspath(os, applicationPath); final String fullcp = createFullClasspath(os, applicationPath);
final OsSpecificInfo osInfo = getOsInfo(os, arch); final OsSpecificInfo osInfo = getOsInfo(os);
final String osPath = applicationPath + File.separator + osInfo.subdir; final String osPath = applicationPath + File.separator + osInfo.subdir;
final String executable = osPath + File.separator + osInfo.cliName; final String executable = osPath + File.separator + osInfo.cliName;
...@@ -135,7 +134,7 @@ public final class CliStarter { ...@@ -135,7 +134,7 @@ public final class CliStarter {
} }
private OsSpecificInfo getOsInfo(final String os, String architecture) private OsSpecificInfo getOsInfo(final String os)
throws CliException { throws CliException {
if (os.equals(Platform.OS_MACOSX)) { if (os.equals(Platform.OS_MACOSX)) {
return new OsSpecificInfo("macos", "probcli.sh", "sh", return new OsSpecificInfo("macos", "probcli.sh", "sh",
...@@ -147,11 +146,7 @@ public final class CliStarter { ...@@ -147,11 +146,7 @@ public final class CliStarter {
} }
if (os.equals(Platform.OS_LINUX)) { if (os.equals(Platform.OS_LINUX)) {
String linux = "linux"; return new OsSpecificInfo("linux64", "probcli.sh", "sh",
if (architecture.equals(Platform.ARCH_X86_64)) {
linux = "linux64";
}
return new OsSpecificInfo(linux, "probcli.sh", "sh",
"lib/send_user_interrupt"); "lib/send_user_interrupt");
} }
final CliException cliException = new CliException( final CliException cliException = new CliException(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment