-
Notifications
You must be signed in to change notification settings - Fork 5
uname -o not supported on MacOS X #1
Copy link
Copy link
Open
Description
Maybe there is another way to get similar info using Erlang itself?
ARCH=$(shell erl -noshell -eval 'io:format(erlang:system_info(system_architecture)), halt().')
$ uname -a
Darwin hostname 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
$ make run_test
make: Entering directory /Users/norton/.erlang.d/lib/onviso' make[1]: Entering directory/Users/norton/.erlang.d/lib/onviso/apps'
uname: illegal option -- o
usage: uname [-amnprsv]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels