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++

Fix python executable path in windows signer script

Dmitry Kazakov73345bb20906
diff --git a/build-tools/ci-scripts/sign-windows-package-at-notary-service.py b/build-tools/ci-scripts/sign-windows-package-at-notary-service.py
index d7ffed7a15..5d40be05be 100644
--- a/build-tools/ci-scripts/sign-windows-package-at-notary-service.py
+++ b/build-tools/ci-scripts/sign-windows-package-at-notary-service.py
@@ -30,5 +30,5 @@ with open("files-to-sign.txt", 'w') as toSign:
filePath = os.path.join(rootPath, fileName)
print(filePath, file=toSign)
-commandToRun = f"python.exe -u ci-notary-service/signwindowsbinaries.py --config {KRITACI_WINDOWS_SIGN_CONFIG} --files-from files-to-sign.txt"
+commandToRun = f"{sys.executable} -u ci-notary-service/signwindowsbinaries.py --config {KRITACI_WINDOWS_SIGN_CONFIG} --files-from files-to-sign.txt"
subprocess.check_call(commandToRun, stdout=sys.stdout, stderr=sys.stderr, shell=True )