]> git.openstreetmap.org Git - rails.git/blobdiff - db/functions/Makefile
Allow bundle path to be overridden when building database functions
[rails.git] / db / functions / Makefile
index 6a3fbc0b997f5d8ad2d3dd32f5e25b34612c6f62..a1259fc5556888be42cc04279fd29a0047e7abb4 100644 (file)
@@ -1,7 +1,8 @@
+BUNDLE ?= bundle
 PG_CONFIG ?= pg_config
 DESTDIR ?= .
 
-QTDIR=$(shell bundle show quad_tile | tail -n 1)/ext/quad_tile
+QTDIR=$(shell ${BUNDLE} show quad_tile | tail -n 1)/ext/quad_tile
 
 OS=$(shell uname -s)
 ifeq (${OS},Darwin)