mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
tests: correctly escape # in Makefile
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -23,6 +23,7 @@ SRC_URI = " \
|
||||
file://apparmor.service \
|
||||
file://0001-Makefile.am-suppress-perllocal.pod.patch \
|
||||
file://0001-Use-build-environment-C-preprocessor.patch \
|
||||
file://0002-Correctly-escape-in-Makefile.patch \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
From 4ffd666a2cedeabc8eef42371c03be52fc2a3d66 Mon Sep 17 00:00:00 2001
|
||||
From: Omer Akram <omer@thing.com>
|
||||
Date: Mon, 12 Apr 2021 22:54:52 +0500
|
||||
Subject: [PATCH] Correctly escape # in Makefile
|
||||
|
||||
---
|
||||
tests/regression/apparmor/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/regression/apparmor/Makefile b/tests/regression/apparmor/Makefile
|
||||
index c3d0cfb7..b41dbe47 100644
|
||||
--- a/tests/regression/apparmor/Makefile
|
||||
+++ b/tests/regression/apparmor/Makefile
|
||||
@@ -69,7 +69,7 @@ endif # USE_SYSTEM
|
||||
|
||||
CFLAGS += -g -O0 -Wall -Wstrict-prototypes
|
||||
|
||||
-USE_SYSCTL:=$(shell echo "#include <sys/sysctl.h>" | cpp -dM >/dev/null 2>/dev/null && echo true)
|
||||
+USE_SYSCTL:=$(shell echo "\#include <sys/sysctl.h>" | cpp -dM >/dev/null 2>/dev/null && echo true)
|
||||
|
||||
|
||||
SRC=access.c \
|
||||
--
|
||||
2.25.1
|
||||
|
||||
Reference in New Issue
Block a user