diff options
author | Simon Glass <sjg@chromium.org> | 2023-07-20 02:49:11 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-07-24 18:34:11 +0300 |
commit | cc923fafbc5ec2f45757ff4db077d6b0e3f0aa21 (patch) | |
tree | 5d7506da5cb38a3f189c21f16c34acf5a90f3165 | |
parent | 4a7419bfbbeae2838422b13fce06d83f30491d70 (diff) | |
download | u-boot-cc923fafbc5ec2f45757ff4db077d6b0e3f0aa21.tar.xz |
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 <sjg@chromium.org>
-rw-r--r-- | tools/buildman/builderthread.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |