Skip to content

Commit

Permalink
8261298: LinuxPackage.c, getJvmLauncherLibPath RPM->DEB typo
Browse files Browse the repository at this point in the history
Reviewed-by: asemenyuk, almatvee, herrick
  • Loading branch information
shipilev committed Feb 10, 2021
1 parent 52fc01b commit a772639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jdk.jpackage/linux/native/applauncher/LinuxPackage.c
Expand Up @@ -312,7 +312,7 @@ char* getJvmLauncherLibPath(void) {
} else {
if (PACKAGE_TYPE_RPM == pkg->type) {
pkgQueryCmd = "rpm -ql '%s' 2>/dev/null";
} else if (PACKAGE_TYPE_RPM == pkg->type) {
} else if (PACKAGE_TYPE_DEB == pkg->type) {
pkgQueryCmd = "dpkg -L '%s' 2>/dev/null";
} else {
/* Should never happen */
Expand Down

0 comments on commit a772639

Please sign in to comment.