]> git.openstreetmap.org Git - rails.git/commitdiff
Allow bundle path to be overridden when building database functions
authorTom Hughes <tom@compton.nu>
Sun, 23 Feb 2020 20:30:29 +0000 (20:30 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 23 Feb 2020 20:30:29 +0000 (20:30 +0000)
db/functions/Makefile

index 6a3fbc0b997f5d8ad2d3dd32f5e25b34612c6f62..a1259fc5556888be42cc04279fd29a0047e7abb4 100644 (file)
@@ -1,7 +1,8 @@
+BUNDLE ?= bundle
 PG_CONFIG ?= pg_config
 DESTDIR ?= .
 
 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)
 
 OS=$(shell uname -s)
 ifeq (${OS},Darwin)