openwrt/scripts
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
..
config build: mconf readme update 2020-07-07 19:47:24 +02:00
flashing scripts/flashing/flash.sh: remove trailing whitespaces 2020-05-24 14:44:00 +02:00
arm-magic.sh scripts/arm-magic.sh: switch to /bin/sh 2020-01-02 23:59:20 +01:00
brcmImage.pl
bundle-libraries.sh
cfe-bin-header.py scripts: cfe-bin-header: fix shebang 2020-05-19 08:05:22 +02:00
cfe-partition-tag.py scripts: add CFE Partition Tags support 2020-05-21 19:11:24 +02:00
cfe-wfi-tag.py scripts: cfe-wfi-tag: fix shebang 2020-05-19 08:06:29 +02:00
checkpatch.pl scripts/checkpatch.pl: fix README.md file name after rename 2020-08-02 15:51:39 +02:00
clang-gcc-wrapper
clean-package.sh build: Fix directory symlinks not removed when cleaning STAGING_DIR 2020-03-01 21:35:59 +01:00
cleanfile
cleanpatch
combined-ext-image.sh
combined-image.sh
config.guess
config.rpath
config.sub
deptest.sh
diffconfig.sh
dl_cleanup.py
dl_github_archive.py
download.pl scripts/download: add sources CDN as first mirror 2020-04-14 23:16:55 +01:00
dump-target-info.pl scripts: Add Buildbot dump-target-info.pl script 2020-08-04 09:28:39 +02:00
env scripts/env: Fix 56f813674a scripts/env: use command -v instead of which 2020-07-12 13:29:28 +01:00
ext-toolchain.sh
feeds
fixup-makefile.pl
functions.sh
gen-dependencies.sh
gen_image_generic.sh scripts/gen_image_generic.sh: fix more shellcheck warnings 2020-07-11 14:42:32 +02:00
get_source_date_epoch.sh
getver.sh
ipkg-build treewide: replace `which` with `command -v` 2020-08-12 11:08:05 +02:00
ipkg-make-index.sh
ipkg-remove
json_add_image_info.py build: store default/device packages in JSON 2020-06-30 23:21:10 +01:00
json_overview_image_info.py build,json: fix compatibility with Python 3.5 2020-07-13 22:45:04 +02:00
kconfig.pl
linksys-image.sh
make-ipkg-dir.sh
md5sum
metadata.pm build: add option to mark devices as BROKEN 2020-07-30 21:49:07 +02:00
mkhash.c
mkits-qsdk-ipq-image.sh
mkits.sh scripts/mkits.sh: fix use of printf 2020-07-11 18:46:53 +02:00
om-fwupgradecfg-gen.sh
package-metadata.pl
pad_image
patch-kernel.sh
patch-specs.sh
portable_date.sh
qemustart scripts: fixup qemustart for new x86 image names 2020-03-21 10:36:00 +00:00
redboot-script.pl
relink-lib.sh
remote-gdb
rstrip.sh
sercomm-crypto.py scripts: support Sercomm crypto 2020-06-02 08:37:54 +02:00
sercomm-partition-tag.py scripts: support Sercomm partition tags 2020-06-02 08:33:11 +02:00
sercomm-payload.py scripts: support Sercomm load tags 2020-06-02 13:06:42 +02:00
sign_images.sh
slugimage.pl
srecimage.pl
strip-kmod.sh
symlink-tree.sh
sysupgrade-tar.sh
target-metadata.pl build: add option to mark devices as BROKEN 2020-07-30 21:49:07 +02:00
time.pl
timestamp.pl
ubinize-image.sh