From 301b4c7c4e7ccbf5a9582efa76678f5f42c7630c Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Mon, 18 Apr 2016 17:50:18 +0300 Subject: [build] Use `which` instead of `command` `command` is shell buitin on Linux. --- scripts/main.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/main.mk b/scripts/main.mk index 24c7792216..8791f3a2df 100644 --- a/scripts/main.mk +++ b/scripts/main.mk @@ -144,7 +144,7 @@ run-glfw-app: run-valgrind-glfw-app: cd $(PLATFORM_OUTPUT)/$(BUILDTYPE) && valgrind --leak-check=full --suppressions=../../../scripts/valgrind.sup ./mapbox-glfw -ifneq (,$(shell command -v gdb)) +ifneq (,$(shell which gdb)) GDB = gdb -batch -return-child-result -ex 'set print thread-events off' -ex 'run' -ex 'thread apply all bt' --args endif -- cgit v1.2.1