< prev index next >

test/jdk/tools/jpackage/linux/base/BundleNameBase.java

Print this page

        

@@ -61,11 +61,11 @@
     private static void init(String name, String ext) {
         TEST_NAME = name;
         BUNDLE_NAME = "jpackage-test-bundle-name";
         EXT = ext;
         if (EXT.equals("rpm")) {
-            OUTPUT = "output" + File.separator + BUNDLE_NAME + "-1.0-1.x86_64." + EXT;
+            OUTPUT = "output" + File.separator + BUNDLE_NAME + "-1.0-1." + Base.getRpmArch() + "." + EXT;
         } else {
             OUTPUT = "output" + File.separator + BUNDLE_NAME + "-1.0." + EXT;
         }
         CMD = new String[]{
             "--package-type", EXT,
< prev index next >