Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F85923
arch.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
234 B
Referenced Files
None
Subscribers
None
arch.rb
View Options
#!/usr/bin/ruby
$arch
=
""
uname_a
=
`uname -a`
if
uname_a
=~
/armv7l/
$arch
=
"armhf"
elsif
uname_a
=~
/(arm64)|(aarch64)/
$arch
=
"arm64"
elsif
uname_a
=~
/(x86_64)|(amd64)/
$arch
=
"amd64"
else
$arch
=
"i386"
end
puts
$arch
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Thu, Sep 4, 2:12 PM (4 d, 58 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42513
Default Alt Text
arch.rb (234 B)
Attached To
Mode
R77 Guitar
Attached
Detach File
Event Timeline
Log In to Comment