blob: a0198ed28d7530f67cec549cde43d56c93ed2cce [file] [log] [blame]
Index: jdktools/modules/samsa/src/main/native/samsa/samsa.c
===================================================================
--- jdktools/modules/samsa/src/main/native/samsa/samsa.c (revision 808406)
+++ jdktools/modules/samsa/src/main/native/samsa/samsa.c (working copy)
@@ -149,6 +149,10 @@
return 1;
}
+ char *debian_suffix = strstr(toolName, "-harmony");
+ if (debian_suffix != NULL)
+ *debian_suffix = '\0';
+
isJavaw = strcmp(toolName, "javaw") == 0;
toolType = getToolType(root, toolName);