From 3587a187cd86717660ca849a63da2a183e12e067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Tue, 4 Sep 2018 12:13:18 +0200 Subject: [PATCH] Get PWD to work with "sudo" The PWD environment variable is not available in the Makefile when a "make" command is run with "sudo". Close #50 Close #60 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 554feb0..2d29f11 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ .PHONY: all android configure build update migrate assets up daemon +PWD ?= $$(pwd) USERID ?= $$(id -u) EDX_PLATFORM_SETTINGS ?= universal.production DOCKER_COMPOSE = docker-compose -f docker-compose.yml