diff --git a/Makefile b/Makefile index 8ee380abd..9c8ae3eae 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ DESTDIR ?= / BUILD ?= .build -PKGDEST ?= /tmp/pkg +PKGDEST ?= ${PWD}/.pkg PKGNAME := apparmor.d P = $(filter-out dpkg,$(notdir $(wildcard ${BUILD}/apparmor.d/*))) diff --git a/dists/build.sh b/dists/build.sh index 08d43a49a..523bf8ca4 100644 --- a/dists/build.sh +++ b/dists/build.sh @@ -8,7 +8,7 @@ set -eu -o pipefail readonly COMMAND="$1" -readonly OUTPUT=".pkg" +readonly OUTPUT="$PWD/.pkg" readonly PKGNAME=apparmor.d VERSION="0.$(git rev-list --count HEAD)" readonly VERSION