File: 0001-tests-variable-or-Don-t-rely-on-CPPFLAGS-being-unset.patch

package info (click to toggle)
gash 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 924 kB
  • sloc: lisp: 6,226; makefile: 262; sh: 133
file content (25 lines) | stat: -rw-r--r-- 638 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Forwarded: https://codeberg.org/guix/gash/pulls/7
From: Simon Josefsson <simon@josefsson.org>
Date: Fri, 5 Sep 2025 09:46:25 +0200
Subject: [PATCH] tests/variable-or: Don't rely on CPPFLAGS being unset.

tests/variable-or.org (variable-or-doublequote): Unset CPPFLAGS first.
---
 tests/variable-or.org | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/variable-or.org b/tests/variable-or.org
index 58eeb85..37f10c6 100644
--- a/tests/variable-or.org
+++ b/tests/variable-or.org
@@ -32,6 +32,7 @@
 * variable-or-doublequote
 :script:
 #+begin_src sh
+  unset CPPFLAGS
   CPPFLAGS=${CPPFLAGS-"
   -I ${srcdest}src
   "}
-- 
2.51.0