You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
At least on arm64, if using a recent version of Homebrew, its bash (i.e., /opt/homebrew/bin/bash) is only an 'arm64' binary.
Hence, every internal call to bash will result in an arm64 architecture run of the respective executable/script.
The intended run of dtc (and the internal Java) as implemented by #1031 is nullified.
Instead, the script should explicitly call the dual architecture /bin/bash to ensure the execution remains in the x86_64 universe.
To Reproduce
Install Homebrew with bash on Apple Silicon
Run ./dtcw generateSite
Get the following error
arch: posix_spawnp: bash: Bad CPU typein executable
The text was updated successfully, but these errors were encountered:
Describe the bug
At least on arm64, if using a recent version of Homebrew, its bash (i.e., /opt/homebrew/bin/bash) is only an 'arm64' binary.
Hence, every internal call to bash will result in an arm64 architecture run of the respective executable/script.
The intended run of dtc (and the internal Java) as implemented by #1031 is nullified.
Instead, the script should explicitly call the dual architecture
/bin/bash
to ensure the execution remains in thex86_64
universe.To Reproduce
./dtcw generateSite
Get the following error
The text was updated successfully, but these errors were encountered: