From 6f9523185903ac4a7d6a3cc016b1bb2800e1e081 Mon Sep 17 00:00:00 2001 From: Santiago Torres Date: Sun, 3 Jun 2018 21:38:45 -0400 Subject: [PATCH] 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. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 0e50cd5..e89e414 100644 --- a/Makefile +++ b/Makefile @@ -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