aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 08c4dd9b..e64c4254 100644
--- a/Makefile
+++ b/Makefile
@@ -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