]> sourceware.org Git - lvm2.git/commitdiff
Skip unneeded 'cat' command execution.
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 11 May 2010 08:43:18 +0000 (08:43 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 11 May 2010 08:43:18 +0000 (08:43 +0000)
make.tmpl.in

index 69fab00f1c709ab2a9b0b1275a30e4a23945b16a..6d9f6818d23900930ce5a75a7aa6ee679873dce7 100644 (file)
@@ -142,14 +142,11 @@ STRIP=
 
 LVM_VERSION := $(shell cat $(top_srcdir)/VERSION)
 
-LIB_VERSION_LVM := $(shell cat $(top_srcdir)/VERSION | \
-                    $(AWK) -F '.' '{printf "%s.%s",$$1,$$2}')
+LIB_VERSION_LVM := $(shell $(AWK) -F '.' '{printf "%s.%s",$$1,$$2}' $(top_srcdir)/VERSION)
 
-LIB_VERSION_DM := $(shell cat $(top_srcdir)/VERSION_DM | \
-                   $(AWK) -F '.' '{printf "%s.%s",$$1,$$2}')
+LIB_VERSION_DM := $(shell $(AWK) -F '.' '{printf "%s.%s",$$1,$$2}' $(top_srcdir)/VERSION_DM)
 
-LIB_VERSION_APP := $(shell cat $(top_srcdir)/VERSION | \
-                    $(AWK) -F '[(). ]' '{printf "%s.%s",$$1,$$4}')
+LIB_VERSION_APP := $(shell $(AWK) -F '[(). ]' '{printf "%s.%s",$$1,$$4}' $(top_srcdir)/VERSION)
 
 INCLUDES += -I. -I$(top_builddir)/include
 
This page took 0.032158 seconds and 5 git commands to generate.