7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-05-29 12:20:49 +00:00

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
This commit is contained in:
Régis Behmo 2018-09-04 12:13:18 +02:00
parent 454bdb62df
commit 3587a187cd

View File

@ -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