Skip to content

Commit 57cdd06

Browse files
committed
scripts: misc cleanups in macdeployqtplus
1 parent 51729a4 commit 57cdd06

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
@@ -722,7 +721,7 @@ if config.dmg is not None:
722721

723722
for key, value in kwargs.items():
724723
hdiutil_args.append("-" + key)
725-
if not value is True:
724+
if value is not True:
726725
hdiutil_args.append(str(value))
727726

728727
return run(hdiutil_args, universal_newlines=True)

0 commit comments

Comments
 (0)