blob: ad56b823b55716f17098380adf8d7ebb686a8b26 (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
From 66d76978f2ffbe276e84b03a7fac1041a7c3b4c3 Mon Sep 17 00:00:00 2001
From: Matthias Maier <tamiko@43-1.org>
Date: Thu, 2 Jun 2022 13:17:10 -0500
Subject: [PATCH] Do not hardcode the path of sed
---
doc/Makefile | 2 +-
etc/Makefile | 2 +-
libopeniscsiusr/Makefile | 2 +-
utils/Makefile | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/Makefile b/doc/Makefile
index 9ed025d..e121270 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -7,7 +7,7 @@ ifeq ($(TOPDIR),)
TOPDIR = ..
endif
-SED = /usr/bin/sed
+SED = sed
INSTALL = install
DESTDIR ?=
diff --git a/etc/Makefile b/etc/Makefile
index d065319..2d98027 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -19,7 +19,7 @@ initddir ?= $(etcdir)/init.d
HOMEDIR ?= $(etcdir)/iscsi
-SED = /usr/bin/sed
+SED = sed
INSTALL = install
SYSTEMD_SOURCE_FILES = iscsid.socket iscsiuio.socket
diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile
index 523518b..90903dd 100644
--- a/libopeniscsiusr/Makefile
+++ b/libopeniscsiusr/Makefile
@@ -29,7 +29,7 @@ PKGCONF_DIR ?= $(LIB_DIR)/pkgconfig
MAN_DIR = $(prefix)/share/man
PKG_CONFIG ?= /usr/bin/pkg-config
-SED ?= /usr/bin/sed
+SED ?= sed
LIBISCSI_USR_DIR=$(TOPDIR)/libopeniscsiusr
diff --git a/utils/Makefile b/utils/Makefile
index a7eb352..15539eb 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -7,7 +7,7 @@
# from the top-level make file.
#
-SED = /usr/bin/sed
+SED = sed
INSTALL = install
CHMOD = chmod
--
2.35.1
|