Browse files

Removed superfluous removing of extension.

This causes problems since there is not supposed to be an extension anyway. Removing an extension from DTCoreText-1.2 causes the package name to be become DTCoreText-1.xar which is wrong.

Fixes #338
  • Loading branch information...
1 parent 81cf405 commit 09ebc6a26f9ba0b8fd57b422387a049d60989d44 @odrobnik odrobnik committed Mar 13, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 Generating/GBDocSetPublishGenerator.m
View
3 Generating/GBDocSetPublishGenerator.m
@@ -28,7 +28,6 @@ - (BOOL)generateOutputWithStore:(id)store error:(NSError **)error {
// Get the path to the installed documentation set and extract the name. Then replace the name's extension with .xar.
NSString *inputDocSetPath = self.inputUserPath;
- NSString *packageName = [self.settings.docsetPackageFilename stringByDeletingPathExtension];
NSString *atomName = self.settings.docsetAtomFilename;
NSString *xmlName = self.settings.docsetXMLFilename;
NSString *installedDocSetPath = inputDocSetPath;
@@ -46,7 +45,7 @@ - (BOOL)generateOutputWithStore:(id)store error:(NSError **)error {
// Prepare command line arguments for packaging.
NSString *outputDir = self.outputUserPath;
- NSString *outputDocSetPath = [outputDir stringByAppendingPathComponent:packageName];
+ NSString *outputDocSetPath = [outputDir stringByAppendingPathComponent:self.settings.docsetPackageFilename];
NSString *outputAtomPath = [outputDir stringByAppendingPathComponent:atomName];
NSString *outputXMLPath = [outputDir stringByAppendingPathComponent:xmlName];
NSString *signer = self.settings.docsetCertificateSigner;

0 comments on commit 09ebc6a

Please sign in to comment.