1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/include
Paul Spooren 1fdf6b745c treewide: replace which with command -v
Fix shellcheck SC2230
> which is non-standard. Use builtin 'command -v' instead.

Using `command -v` is POSIX compliant while `which` is not.  Also to
mention, `command -v` is a shell builtin whereas `which` is a separate
busybox applet.

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

Acked-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Paul Spooren <mail@aparcar.org>
[also replace cases in zram-swap]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-12 11:08:05 +02:00
..
site
autotools.mk
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk build: add zstd support to pack/unpack functions 2020-05-31 11:03:30 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk build: improve ccache support 2020-07-11 15:19:53 +02:00
image-commands.mk build: improve message for incompatible image on "legacy" devices 2020-08-08 16:13:51 +02:00
image-legacy.mk
image.mk build: add DEVICE_COMPAT_VERSION and DEVICE_COMPAT_MESSAGE 2020-07-31 11:40:15 +02:00
kernel-build.mk build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00
kernel-defaults.mk
kernel-version.mk kernel: Update kernel 4.14 to version 4.14.193 2020-08-10 19:34:37 +02:00
kernel.mk build: move symvers files to kernel build dir 2020-04-09 09:54:02 +02:00
netfilter.mk kernel: netfilter.mk: fix kmod-ipt-nat6 installation on 5.4 2020-04-20 15:07:17 +02:00
nls.mk
package-bin.mk
package-defaults.mk toolchain: remove gcc libssp and use libc variant 2020-06-17 23:57:07 +02:00
package-dumpinfo.mk
package-ipkg.mk build: reduce number of files passed to ipk-remove 2020-07-11 13:33:28 +02:00
package-seccomp.mk
package.mk build: improve ccache support 2020-07-11 15:19:53 +02:00
prereq-build.mk build: set up host command for egrep 2020-08-06 13:17:13 +02:00
prereq.mk
quilt.mk
rootfs.mk treewide: replace which with command -v 2020-08-12 11:08:05 +02:00
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk hostapd: add wpad-basic-wolfssl variant 2020-08-07 12:02:19 +02:00
toolchain-build.mk
toplevel.mk build: improve ccache support 2020-07-11 15:19:53 +02:00
u-boot.mk u-boot.mk: switch download to https 2020-04-26 21:20:47 +02:00
uclibc++.mk
unpack.mk build: add zstd support to pack/unpack functions 2020-05-31 11:03:30 +02:00
verbose.mk
version.mk