From 6afcfa85ec30a917bf698dd5c567af26fa60659f Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Wed, 9 Oct 2024 13:31:57 +0100 Subject: [PATCH] fix(ci): ensure output build directory exist. --- Makefile | 2 +- dists/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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