FIX:Makefile: add PWD environment variable

The previous makefile assumed that PWD was populated. This doesn't
happen in certain cases (e.g., when running as a systemd unit). Make
sure we have the PWD variable set before running any target.
This commit is contained in:
Santiago Torres 2018-06-03 21:38:45 -04:00
parent 0afc2ce276
commit 6f95231859
No known key found for this signature in database
GPG Key ID: 468F122CE8162295

View File

@ -2,6 +2,7 @@ DOCKER_USER:=pierres
DOCKER_ORGANIZATION=archlinux
DOCKER_IMAGE:=base
BUILDDIR=build
PWD=$(shell pwd)
hooks:
mkdir -p alpm-hooks/usr/share/libalpm/hooks