forked from aboutcode-org/scancode-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only relaunch when not running under emulation
Running `uname -m` on Apple silicon machines always results in `arm64`, regardless if Bash is running under Rosetta 2 emulation or natively. Check if scancode and configure is running under in emulation mode before relaunching it to avoid an infinite loop. Related to aboutcode-org#2835. Signed-off-by: Marcel Bochtler <[email protected]>
- Loading branch information
1 parent
a61fe17
commit ae672cd
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters