]> sourceware.org Git - lvm2.git/commitdiff
makefiles: sed
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 2 Mar 2021 20:21:38 +0000 (21:21 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 2 Mar 2021 21:54:40 +0000 (22:54 +0100)
Makefile.in

index a4278cade4e134115a4ccb30ec9c495c935fb0f3..6bc3a941488f45412020db10b4280f1c33b972ee 100644 (file)
@@ -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
This page took 0.031506 seconds and 5 git commands to generate.