You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a bear that enforces the usage of /usr/bin/env instead of directly calling it like /usr/bin/python3. The reason why /usr/bin/env is important because it'll find the correct path for the binary we wanna use. Not every distribution follows Linux's FHS (ex. macOS, GNU Guix, Nix OS, etc).
An extreme example of this is how portability is reduced on BSD (or installs of Slackware) because /usr is usually filled with programs that are installed by default and everything else is on /usr/local.
Create a bear that enforces the usage of
/usr/bin/env
instead of directly calling it like/usr/bin/python3
. The reason why/usr/bin/env
is important because it'll find the correct path for the binary we wanna use. Not every distribution follows Linux's FHS (ex. macOS, GNU Guix, Nix OS, etc).An extreme example of this is how portability is reduced on BSD (or installs of Slackware) because
/usr
is usually filled with programs that are installed by default and everything else is on/usr/local
.Note: Yes, it is called Shebang. https://en.wikipedia.org/wiki/Shebang_(Unix)
Opened via gitter by @yukiisbored
The text was updated successfully, but these errors were encountered: