diff options
| author | mid-kid <esteve.varela@gmail.com> | 2025-03-07 17:25:38 +0100 |
|---|---|---|
| committer | mid-kid <esteve.varela@gmail.com> | 2025-03-07 17:25:38 +0100 |
| commit | 9383d36fe532adb9763193625e51dc4256b44518 (patch) | |
| tree | f571d90b162f329995c05c24568949f9363c306f | |
| parent | Fix termux instructions to not use "sudo" (diff) | |
| download | pokeyellow-9383d36fe532adb9763193625e51dc4256b44518.tar.gz pokeyellow-9383d36fe532adb9763193625e51dc4256b44518.tar.xz pokeyellow-9383d36fe532adb9763193625e51dc4256b44518.zip | |
Use "command -v" instead of "which"
The "which" command has been deprecated in debianutils, and while other
distributions still ship it, "command -v" is in POSIX and implemented
without external packages.
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ pokeblue_vc_obj := $(rom_obj:.o=_blue_vc.o) ### Build tools -ifeq (,$(shell which sha1sum)) +ifeq (,$(shell command -v sha1sum 2>/dev/null)) SHA1 := shasum else SHA1 := sha1sum |
