Fix running rbt by default on Windows.

Review Request #14498 — Created July 8, 2025 and discarded

Information

RBTools
release-5.x

Reviewers

The rbt and rbt.cmd wrappers for RBTools were referencing an old
script path (Scripts\rbt-script.py). With modern packaging, Windows
scripts are installed as exe files, so this should have been
Scripts\rbt.exe.

Notably, those files use absolute paths that are computed at initial
install time, meaning that they point to our build machine. This is a
larger problem with few good solutions. However, our wrapper scripts
control the environment and work properly, now that we're once again
pointing to the right file.

Made the changes on a Windows machine and ran the scripts. They
successfully ran RBTools.

Summary ID
Fix running rbt by default on Windows.
The `rbt` and `rbt.cmd` wrappers for RBTools were referencing an old script path (`Scripts\rbt-script.py`). With modern packaging, Windows scripts are installed as exe files, so this should have been `Scripts\rbt.exe`. Notably, those files use absolute paths that are computed at initial install time, meaning that they point to our build machine. This is a larger problem with few good solutions. However, our wrapper scripts control the environment and work properly, now that we're once again pointing to the right file.
f88147bee1ff421bbbc0201450ba29fb95f4224e
maubin
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Discarded