Skip to content

Commit c854f78

Browse files
fanquakeFuzzbawls
authored andcommitted
scripts: misc cleanups in macdeployqtplus
1 parent a3873ea commit c854f78

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contrib/macdeploy/macdeployqtplus

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ class FrameworkInfo(object):
147147
info.sourceContentsDirectory = os.path.join(info.frameworkPath, "Contents")
148148
info.sourceVersionContentsDirectory = os.path.join(info.frameworkPath, "Versions", info.version, "Contents")
149149
info.destinationResourcesDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Resources")
150-
info.destinationContentsDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Contents")
151150
info.destinationVersionContentsDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Versions", info.version, "Contents")
152151

153152
return info
@@ -727,7 +726,7 @@ if config.dmg is not None:
727726

728727
for key, value in kwargs.items():
729728
hdiutil_args.append("-" + key)
730-
if not value is True:
729+
if value is not True:
731730
hdiutil_args.append(str(value))
732731

733732
return run(hdiutil_args, universal_newlines=True)

0 commit comments

Comments
 (0)