mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-07 16:04:02 +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:
parent
454bdb62df
commit
3587a187cd
1
Makefile
1
Makefile
@ -1,5 +1,6 @@
|
|||||||
.PHONY: all android configure build update migrate assets up daemon
|
.PHONY: all android configure build update migrate assets up daemon
|
||||||
|
|
||||||
|
PWD ?= $$(pwd)
|
||||||
USERID ?= $$(id -u)
|
USERID ?= $$(id -u)
|
||||||
EDX_PLATFORM_SETTINGS ?= universal.production
|
EDX_PLATFORM_SETTINGS ?= universal.production
|
||||||
DOCKER_COMPOSE = docker-compose -f docker-compose.yml
|
DOCKER_COMPOSE = docker-compose -f docker-compose.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user