mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 18:17:09 +00:00
Merge branch 'cboltz-fix-make-C-profiles' into 'master'
Fix $(PWD) when using "make -C profiles" See merge request apparmor/apparmor!80 Acked-by: John Johansen <john.johansen@canonical.com> (cherry picked from commit 14096cb3a71e2a9343ad8dd2dc3fefbe54a1faac) 20893382 Fix $(PWD) when using "make -C profiles"
This commit is contained in:
parent
f59f6052a2
commit
1614db2e78
@ -40,6 +40,9 @@ EXTRAS_SOURCE=./apparmor/profiles/extras/
|
||||
SUBDIRS=$(shell find ${PROFILES_SOURCE} -type d -print)
|
||||
TOPLEVEL_PROFILES=$(filter-out ${SUBDIRS}, $(wildcard ${PROFILES_SOURCE}/*))
|
||||
|
||||
# $(PWD) is wrong when using "make -C profiles" - explicitely set it here to get the right value
|
||||
PWD=$(shell pwd)
|
||||
|
||||
local:
|
||||
for profile in ${TOPLEVEL_PROFILES}; do \
|
||||
fn=$$(basename $$profile); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user