Skip to content

Commit

Permalink
scripts: misc cleanups in macdeployqtplus
Browse files Browse the repository at this point in the history
  • Loading branch information
fanquake committed Jul 29, 2019
1 parent 51729a4 commit 57cdd06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/macdeploy/macdeployqtplus
Expand Up @@ -147,7 +147,6 @@ class FrameworkInfo(object):
info.sourceContentsDirectory = os.path.join(info.frameworkPath, "Contents")
info.sourceVersionContentsDirectory = os.path.join(info.frameworkPath, "Versions", info.version, "Contents")
info.destinationResourcesDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Resources")
info.destinationContentsDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Contents")
info.destinationVersionContentsDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Versions", info.version, "Contents")

return info
Expand Down Expand Up @@ -722,7 +721,7 @@ if config.dmg is not None:

for key, value in kwargs.items():
hdiutil_args.append("-" + key)
if not value is True:
if value is not True:
hdiutil_args.append(str(value))

return run(hdiutil_args, universal_newlines=True)
Expand Down

0 comments on commit 57cdd06

Please sign in to comment.