Skip to contentSkip to conversation

main - makefiles: sed

PATCH Zdenek Kabelac 1 participant 1 message Mar 2, 2021 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=e080e35c839ab7c166acfc40b03beb7c1c1b2e56
Commit:        e080e35c839ab7c166acfc40b03beb7c1c1b2e56
Parent:        520bd9356e9ecccfa824ca639c468fdcaf3b34c8
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Mar 2 21:21:38 2021 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Mar 2 22:54:40 2021 +0100

makefiles: sed

---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile.in +1 -1
index a4278cade..6bc3a9414 100644
@@ -117,7 +117,7 @@ rpm: dist
 	$(LN_S) -f $(abs_top_srcdir)/spec/packages.inc $(rpmbuilddir)/SOURCES
 	DM_VER=$$(cut -d- -f1 $(top_srcdir)/VERSION_DM);\
 	GIT_VER=$$(cd $(top_srcdir); git describe | cut -d- --output-delimiter=. -f2,3 || echo 0);\
-	sed -e "s,\(device_mapper_version\) [0-9.]*$$,\1 $$DM_VER," \
+	$(SED) -e "s,\(device_mapper_version\) [0-9.]*$$,\1 $$DM_VER," \
 	    -e "s,^\(Version:[^0-9%]*\)[0-9.]*$$,\1 $(LVM_VER)," \
 	    -e "s,^\(Release:[^0-9%]*\)[0-9.]\+,\1 $$GIT_VER," \
 	    $(top_srcdir)/spec/source.inc >$(rpmbuilddir)/SOURCES/source.inc