Skip to content

Commit 9cc73ea

Browse files
rod-chapmanhanno-becker
authored andcommitted
Correct setting of macOS taskpolicy variable
to the underlying exec-wrapper command. Signed-off-by: Rod Chapman <rodchap@amazon.com>
1 parent 6e302b4 commit 9cc73ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ class Tests:
321321
if self.args.exec_wrapper is not None and self.args.exec_wrapper != "":
322322
res += self.args.exec_wrapper.split(" ")
323323
if self.args.mac_taskpolicy is not None:
324-
res += ["taskpolicy", "-c", f"{mac_taskpolicy}"]
324+
res += ["taskpolicy", "-c", f"{self.args.mac_taskpolicy}"]
325325

326326
return res
327327

0 commit comments

Comments
 (0)