mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 11:13:23 -03:00
scripts: misc cleanups in macdeployqtplus
This commit is contained in:
parent
51729a4dfa
commit
57cdd0697d
1 changed files with 1 additions and 2 deletions
|
@ -147,7 +147,6 @@ class FrameworkInfo(object):
|
||||||
info.sourceContentsDirectory = os.path.join(info.frameworkPath, "Contents")
|
info.sourceContentsDirectory = os.path.join(info.frameworkPath, "Contents")
|
||||||
info.sourceVersionContentsDirectory = os.path.join(info.frameworkPath, "Versions", info.version, "Contents")
|
info.sourceVersionContentsDirectory = os.path.join(info.frameworkPath, "Versions", info.version, "Contents")
|
||||||
info.destinationResourcesDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Resources")
|
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")
|
info.destinationVersionContentsDirectory = os.path.join(cls.bundleFrameworkDirectory, info.frameworkName, "Versions", info.version, "Contents")
|
||||||
|
|
||||||
return info
|
return info
|
||||||
|
@ -722,7 +721,7 @@ if config.dmg is not None:
|
||||||
|
|
||||||
for key, value in kwargs.items():
|
for key, value in kwargs.items():
|
||||||
hdiutil_args.append("-" + key)
|
hdiutil_args.append("-" + key)
|
||||||
if not value is True:
|
if value is not True:
|
||||||
hdiutil_args.append(str(value))
|
hdiutil_args.append(str(value))
|
||||||
|
|
||||||
return run(hdiutil_args, universal_newlines=True)
|
return run(hdiutil_args, universal_newlines=True)
|
||||||
|
|
Loading…
Add table
Reference in a new issue