Get rid of unsightly hex numbers from unified build object files
[WebKit-https.git] / Source / WTF / Scripts / generate-unified-source-bundles.rb
index 103b0f63ce99babda56f0d03c2e00fa8ad222fcf..8db785671589bb443184bf6910ed935dad0568ff 100644 (file)
@@ -168,7 +168,7 @@ class BundleManager
     end
 
     def bundleFileName(number)
-        "UnifiedSource#{number}.#{extension}"
+        @extension == "cpp" ? "UnifiedSource#{number}.#{extension}" : "UnifiedSource#{number}-#{extension}.#{extension}"
     end
 
     def flush