Perhaps you can simply use the arch command to detect arm64 and set the
env variable?
bash % arch -h
Usage: arch
Display the machine's architecture type
Usage: arch {-arch_name | -arch arch_name} ... [-c] [-d envname] ... [-e
envname=value] ... [-h] prog [arg ...]
Run prog with any arguments, using the given architecture
order. If no architectures are specified, use the
ARCHPREFERENCE environment variable, or a property list file.
-c will clear out all environment variables before running prog.
-d will delete the given environment variable before running
prog.
-e will add the given environment variable/value before running
prog.
-h will print usage message and exit.
% arch
arm64
And on my old Mac mini it returns i386
------------------------------------------------------------------------
azakkerman's Profile: http://forums.slimdevices.com/member.php?userid=71008
View this thread: http://forums.slimdevices.com/showthread.php?t=113345
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter