Alter the Makefile to be robust against bundler warnings

In bundle < 2.0, warnings are printed to stdout, along with the path information
that we need. This takes the final line of the output and assumes it's the path.

Fixes #1930
This commit is contained in:
Andy Allan 2018-08-29 12:36:31 +08:00
parent 06915a77b5
commit 8db7f5aeac

View file

@ -1,7 +1,7 @@
PG_CONFIG ?= pg_config
DESTDIR ?= .
QTDIR=$(shell bundle show quad_tile)/ext/quad_tile
QTDIR=$(shell bundle show quad_tile | tail -n 1)/ext/quad_tile
OS=$(shell uname -s)
ifeq (${OS},Darwin)