From 42956dd14087036f7160c2a36a6bc30dd57cf1bf Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Thu, 5 Apr 2018 20:33:42 +0200 Subject: [PATCH] Fix pwd call. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bff99cb..fc04429 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) +MAKEFILE_DIR := $(dir ${MAKEFILE_PATH}) # Test images as run on CI. image_vim_74_py2: @@ -21,4 +23,4 @@ image_repro: image_vim_80_py3 # scripts/docker_vimrc.vim for the full vimrc. Need to run `make # image_repro` before this will work. repro: - docker run -it -v $(pwd):/src/UltiSnips ultisnips:repro /bin/bash + docker run -it -v ${MAKEFILE_DIR}:/src/UltiSnips ultisnips:repro /bin/bash