File: 0002-Use-correct-install-hook-libraries-are-exec-not-data.patch

package info (click to toggle)
nordugrid-arc 7.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 29,660 kB
  • sloc: cpp: 136,314; python: 12,444; perl: 12,313; php: 11,408; sh: 10,820; ansic: 3,295; makefile: 3,149; xml: 180; sql: 130; javascript: 53; sed: 30
file content (29 lines) | stat: -rw-r--r-- 765 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
26
27
28
29
From 67f8b69d9a648562c5565eec64995a71341d0c69 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Wed, 21 May 2025 14:55:33 +0200
Subject: [PATCH 2/2] Use correct install hook (libraries are "exec" not
 "data")

---
 python/test/common.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/python/test/common.mk b/python/test/common.mk
index 3e649086d..02193612e 100644
--- a/python/test/common.mk
+++ b/python/test/common.mk
@@ -6,7 +6,10 @@ endif
 
 include $(srcdir)/../tests.mk
 
-$(TESTSCRIPTS) testutils.py: %: $(srcdir)/../% testutils.py
+testutils.py: %: $(srcdir)/../%
+	cp -p $< $@
+
+$(TESTSCRIPTS): %: $(srcdir)/../% testutils.py
 	cp -p $< $@
 
 CLEANFILES = $(TESTSCRIPTS) testutils.py*
-- 
2.49.0