Skip to content

Commit

Permalink
Output dir should not be under temp.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@amazon.com>
  • Loading branch information
dblock committed Oct 26, 2021
1 parent 197d497 commit 2f81c4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/run_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ def main():
args = BuildArgs()
console.configure(level=args.logging_level)
manifest = InputManifest.from_file(args.manifest)
output_dir = os.path.join(os.getcwd(), "builds")

with TemporaryDirectory(keep=args.keep, chdir=True) as work_dir:
output_dir = os.path.join(os.getcwd(), "builds")

logging.info(f"Building in {work_dir.name}")

target = BuildTarget(
Expand Down

0 comments on commit 2f81c4c

Please sign in to comment.