Skip to contentSkip to conversation

master - tests: fix typo in makefile

PATCH Zdenek Kabelac 1 participant 1 message Mar 29, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=df86ee8c2198abfbc8429813614636511be66402
Commit:        df86ee8c2198abfbc8429813614636511be66402
Parent:        a66411bd7acd129a61f6b3dde4c8ac448e27e4c7
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Mar 30 00:19:02 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Mar 30 00:38:41 2017 +0200

tests: fix typo in makefile

Use properly $(SORT)

---
 test/Makefile.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
test/Makefile.in +2 -2
index 3cb0f18..c399596 100644
@@ -37,9 +37,9 @@ include $(top_builddir)/make.tmpl
 T ?= .
 S ?= @ # never match anything by default
 VERBOSE ?= 0
-ALL := $(shell find -L $(srcdir) \( -path \*/shell/\*.sh -or -path \*/api/\*.sh \) | sort)
+ALL := $(shell find -L $(srcdir) \( -path \*/shell/\*.sh -or -path \*/api/\*.sh \) | $(SORT))
 comma = ,
-RUN := $(shell find -L $(srcdir) -regextype posix-egrep \( -path \*/shell/\*.sh -or -path \*/api/\*.sh \) -and -regex "$(srcdir)/.*($(subst $(comma),|,$(T))).*" -and -not -regex "$(srcdir)/.*($(subst $(comma),|,$(S))).*" | ($SORT))
+RUN := $(shell find -L $(srcdir) -regextype posix-egrep \( -path \*/shell/\*.sh -or -path \*/api/\*.sh \) -and -regex "$(srcdir)/.*($(subst $(comma),|,$(T))).*" -and -not -regex "$(srcdir)/.*($(subst $(comma),|,$(S))).*" | $(SORT))
 RUN_BASE = $(subst $(srcdir)/,,$(RUN))
 
 ifeq ("@BUILD_LVMETAD@", "yes")