Closed st0nie closed 4 months ago
It might be more accurate to replace the current detection scheme with /lib64/ld-linux-x86-64.so.2 --help
, but there is no guarantee that this so exists in the same directory on all systems, and it's more straightforward to give the user an OVERRIDE method
For some CPUs, the
MACHINE
variable recognized by the script may cause the downloaded dae binary not to run properly, we can avoid this by enabling the user to specify this variable.Example:
If you run the script directly, the
MACHINE
variable will be recognized asx86_64-v2
but actually the CPU doesn't support v2, so the downloaded dae won't run properly.Now we can override
MACHINE
variable to force the script to download corrected binary