diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-04-18 17:50:18 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-04-18 17:50:18 +0300 |
commit | 301b4c7c4e7ccbf5a9582efa76678f5f42c7630c (patch) | |
tree | eba46dbd233b9e82478e07237540eaa9a69c0290 | |
parent | 87b27711d5081cfcb5b2c1f723e8441676eef009 (diff) | |
download | qtlocation-mapboxgl-301b4c7c4e7ccbf5a9582efa76678f5f42c7630c.tar.gz |
[build] Use `which` instead of `command`
`command` is shell buitin on Linux.
-rw-r--r-- | scripts/main.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |