Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

macos: update renamed argument name for buildroot case

Ivan Yossi55ceead18ef5
diff --git a/packaging/macos/macos-apptodmg.py b/packaging/macos/macos-apptodmg.py
index f3a0c9669c..1abff21e8e 100644
--- a/packaging/macos/macos-apptodmg.py
+++ b/packaging/macos/macos-apptodmg.py
@@ -43,8 +43,8 @@ def main():
# --- Style options DMG
if args.buildroot:
print(f"root {args.buildroot}")
- if args.source:
- print("WARNING: --source ignored as --buildroot or env BUILDROOT is present")
+ if args.media_path:
+ print("WARNING: --media-path ignored as --buildroot or env BUILDROOT is present")
krita_root: pathlib.Path = pathlib.Path(args.buildroot).resolve()
krita_source_dir = pathlib.Path(os.path.join(krita_root, "krita"))
krita_media_path = krita_source_dir.joinpath('packaging','macos')