1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-25 18:50:51 +03:00

Fix the sed expression to get "base" names of tests.

This commit is contained in:
Petr Rockai 2010-12-12 21:17:25 +00:00
parent c0274f4018
commit 4b81bb549d

View File

@ -29,7 +29,7 @@ T ?= .
S ?= @ # never match anything by default
VERBOSE ?= 0
RUN = $(shell find $(srcdir) -regextype posix-egrep \( -name t-\*.sh -or -path */api/\*.sh \) -and -regex "$(srcdir)/.*($(T)).*" -and -not -regex "$(srcdir)/.*($(S)).*" | sort)
RUN_BASE = $(shell echo $(RUN) | sed -e s,$(srcdir)/,,g)
RUN_BASE = $(shell echo $(RUN) | sed -e s,^$(srcdir)/,,)
# Shell quote;
SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))