ataraxialinux / ataraxia

Simple and lightweight source-based multi-platform Linux distribution with musl libc.
https://ataraxialinux.org
GNU General Public License v3.0
282 stars 19 forks source link

build: replace which with command -v #182

Closed yjftsjthsd-g closed 4 years ago

yjftsjthsd-g commented 4 years ago

Replace which with command -v in build; rationale at https://github.com/koalaman/shellcheck/wiki/SC2230

yjftsjthsd-g commented 4 years ago

Then I suppose I can replace this with a PR to add it to the dependency list; I hit this because (much like file) starting from the dockerhub fedora:32 image and adding the official list of dependencies leaves me with errors about which not being installed. Looks like dnf install which grabs the right thing on fedora:32 and centos:8.