treewide: replace `which` with `command -v` 13059/head
authorPaul Spooren <mail@aparcar.org>
Sun, 9 Aug 2020 23:19:25 +0000 (13:19 -1000)
committerPaul Spooren <mail@aparcar.org>
Sun, 9 Aug 2020 23:58:14 +0000 (13:58 -1000)
commit30ea917518b4d0643e0e2aa21daa26f78290bbbf
tree0c4f76ae8a01124761466a6263aca584344190f5
parent416dccf72a82b624c9f42f2f4a6553439721a49f
treewide: replace `which` with `command -v`

Fix shellcheck SC2230
> which is non-standard. Use builtin 'command -v' instead.

Once applied to everything concerning OpenWrt we can disable the busybox
feature `which` and save 3.8kB.

Signed-off-by: Paul Spooren <mail@aparcar.org>
net/ddns-scripts/Makefile
net/ddns-scripts/files/ddns.defaults
net/ddns-scripts/files/dynamic_dns_functions.sh
net/ddns-scripts/files/update_freedns_42_pl.sh
net/ddns-scripts/files/update_nsupdate.sh
net/mwan3/Makefile
net/mwan3/files/usr/sbin/mwan3track
net/trafficshaper/Makefile
net/trafficshaper/files/trafficshaper.init
utils/lxc/Makefile
utils/lxc/patches/020-lxc-checkconfig.patch