From: Simon Glass Date: Wed, 19 Jul 2023 23:49:11 +0000 (-0600) Subject: buildman: Correct invalid use of out_dir variable X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=cc923fafbc5ec2f45757ff4db077d6b0e3f0aa21;p=u-boot.git buildman: Correct invalid use of out_dir variable This variable has a different meaning in the outer scope. Use a different name to avoid confusion, or bugs. Signed-off-by: Simon Glass --- diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py index 45ae6edf9f..f110137e8f 100644 --- a/tools/buildman/builderthread.py +++ b/tools/buildman/builderthread.py @@ -246,8 +246,8 @@ class BuilderThread(threading.Thread): # # Symlinks can confuse U-Boot's Makefile since # we may use '..' in our path, so remove them. - out_dir = os.path.realpath(out_dir) - args.append(f'O={out_dir}') + real_dir = os.path.realpath(out_dir) + args.append(f'O={real_dir}') cwd = None src_dir = os.getcwd() else: