We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6ef7a7 commit d4fea8fCopy full SHA for d4fea8f
acbs/base.py
@@ -40,10 +40,12 @@ class ACBSPackageInfo:
40
subdir: Optional[str] = None
41
fail_arch: Optional[re.Pattern] = None # fail_arch regex
42
bin_arch: str = ''
43
- script_location: str = '' # script location (autobuild directory)
+ script_location: str = field(init=False) # script location (autobuild directory)
44
exported: Dict[str, str] = field(default_factory=dict) # extra exported variables from spec
45
modifiers: str = '' # modifiers to be applied to the source file/folder (only available in autobuild4)
46
47
+ def __post_init__(self):
48
+ self.script_location = self.location
49
50
@staticmethod
51
def is_in_stage2(modifiers: str) -> bool:
0 commit comments