Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only relaunch scancode when not in emulation mode aboutcode-org#2835
Running `uname -m` on Apple silicon machines always results in `arm64`, regardless if Bash is running in Rosetta 2 emulation or natively. Check if scancode and configure is running in emulation mode (see [1]), before relaunching it, to avoid an infinite loop. [1]: https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment Signed-off-by: Marcel Bochtler <[email protected]>
- Loading branch information