From bd52d9c7880dd80a8d185a91e9fcd156f1ff61aa Mon Sep 17 00:00:00 2001 From: TheZeldakatze <60302169+TheZeldakatze@users.noreply.github.com> Date: Thu, 29 Aug 2024 12:45:35 +0200 Subject: [PATCH] don't add the secondaryArchSuffix on patchset export (#285) Co-authored-by: zeldakatze Co-authored-by: Adrien Destugues Co-authored-by: OscarL --- HaikuPorter/Port.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HaikuPorter/Port.py b/HaikuPorter/Port.py index 4d30c5b5..599e1891 100644 --- a/HaikuPorter/Port.py +++ b/HaikuPorter/Port.py @@ -706,12 +706,12 @@ def extractPatchset(self): ## use enumerate to avoid your own couters for s, source in enumerate(self.sources, 1): if s == 1: - patchSetFileName = self.name + '-' + self.version + '.patchset' + patchSetFileName = self.baseName + '-' + self.version + '.patchset' archPatchSetFileName = (self.name + '-' + self.version + '-' + self.targetArchitecture + '.patchset') else: - patchSetFileName = (self.name + '-' + self.version + '-source' + patchSetFileName = (self.baseName + '-' + self.version + '-source' + str(s) + '.patchset') archPatchSetFileName = (self.name + '-' + self.version + '-' + self.targetArchitecture + '-source'