pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
7.92k stars 544 forks source link

uname: illegal option -- o #416

Closed justchokingaround closed 2 years ago

justchokingaround commented 2 years ago

Metadata (please complete the following information): Version: [1.4.0] OS: [Mac Catalina v10.15.6 && Mac BigSur v11.6] Shell: [fish-shell && zsh]

Describe the bug when running sudo make it outputs: uname: illegal option -- o usage: uname [-amnprsv] Failed to detect Platform

To Reproduce

  1. Run sudo make

Expected behavior should copy ani-cli to /usr/local/bin/ and chmod

Screenshots (if applicable)

Screen Shot 2022-01-26 at 3 57 39 PM

For fixing On mac uname -o is not a command, it's just uname instead, which outputs Darwin

ghost commented 2 years ago

I'm not sure what you're dealing with, uname -o works fine for me on my Apple Silicon Mac.

sadkris commented 2 years ago

Due to lack of OS on my part, do you mind commenting the output of uname -s?

justchokingaround commented 2 years ago

Due to lack of OS on my part, do you mind commenting the output of uname -s?

uname -s works properly, and prints out Darwin

port19x commented 2 years ago

Due to lack of OS on my part, do you mind commenting the output of uname -s?

uname -s works properly, and prints out Darwin

uname -s is "Linux" for both android and gnu/linux, effectively solving nothing

pystardust commented 2 years ago

uname -o is not posix. These are the only posix options

-a
Behave as though all of the options -mnrsv were specified.
-m
Write the name of the hardware type on which the system is running to standard output.
-n
Write the name of this node within an implementation-defined communications network.
-r
Write the current release level of the operating system implementation.
-s
Write the name of the implementation of the operating system.
-v
Write the current version level of this release of the operating system implementation.