File: 0011_src-Makefile-Fix-sed-expression-pam_python.so-is-spe.patch

package info (click to toggle)
pam-python 1.1.0~git20220701.1d4e111-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 688 kB
  • sloc: ansic: 2,536; python: 722; makefile: 111; sh: 2
file content (27 lines) | stat: -rw-r--r-- 966 bytes parent folder | download | duplicates (2)
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
From ec2d2d2fdf97d1dc73d570e333eb85d7cf9c120f Mon Sep 17 00:00:00 2001
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Date: Sun, 23 Oct 2022 13:20:35 +0200
Subject: [PATCH 3/3] src/Makefile: Fix sed expression (pam_python.so is
 spelled with underscore, not with dash).

Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
---
 src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile b/src/Makefile
index 09cb981..c3d2061 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -44,7 +44,7 @@ test: pam_python.so ctest /etc/pam.d/test-pam_$(PYTHON).pam
 	./ctest $(PYTHON)
 
 test-pam_$(PYTHON)-installed.pam: test-pam_python.pam.in Makefile
-	sed "s,\\\$$PWD/pam-python.so,pam-python.so,;s,\\\$$PWD,$$(pwd),g" "$<" >"$@.tmp"
+	sed "s,\\\$$PWD/pam_python.so,pam_python.so,;s,\\\$$PWD,$$(pwd),g" "$<" >"$@.tmp"
 	mv $@.tmp $@
 
 /etc/pam.d/test-pam_$(PYTHON)-installed.pam: test-pam_$(PYTHON)-installed.pam
-- 
2.30.2